|
clang 22.0.0git
|
#include "TypeLocBuilder.h"#include "clang/AST/ASTContext.h"#include "clang/AST/DeclTemplate.h"#include "clang/AST/ExprCXX.h"#include "clang/AST/NestedNameSpecifier.h"#include "clang/Basic/PartialDiagnostic.h"#include "clang/Sema/DeclSpec.h"#include "clang/Sema/Lookup.h"#include "clang/Sema/Template.h"#include "llvm/ADT/STLExtras.h"Go to the source code of this file.
Functions | |
| static CXXRecordDecl * | getCurrentInstantiationOf (QualType T, DeclContext *CurContext) |
| Find the current instantiation that associated with the given type. | |
| static bool | ExtendNestedNameSpecifier (Sema &S, CXXScopeSpec &SS, const NamedDecl *ND, SourceLocation NameLoc, SourceLocation CCLoc) |
|
staticnodiscard |
Definition at line 401 of file SemaCXXScopeSpec.cpp.
References clang::CXXScopeSpec::clear(), clang::Sema::Context, clang::CXXScopeSpec::getScopeRep(), clang::ASTContext::getTypeDeclType(), clang::TypeLocBuilder::getTypeLocInContext(), clang::ASTContext::getUsingType(), clang::CXXScopeSpec::getWithLocInContext(), clang::CXXScopeSpec::isEmpty(), clang::CXXScopeSpec::Make(), clang::None, clang::TypeLocBuilder::push(), clang::TypeLocBuilder::pushTypeSpec(), clang::TagTypeLoc::setElaboratedKeywordLoc(), clang::TypeSpecTypeLoc::setNameLoc(), and clang::T.
Referenced by clang::Sema::BuildCXXNestedNameSpecifier().
|
static |
Find the current instantiation that associated with the given type.
Definition at line 26 of file SemaCXXScopeSpec.cpp.
References clang::cast(), clang::isa(), and clang::T.