/external/clang/lib/AST/ |
NestedNameSpecifier.cpp | 34 NestedNameSpecifier *NNS 36 if (!NNS) { 37 NNS = new (Context, llvm::alignOf<NestedNameSpecifier>()) 39 Context.NestedNameSpecifiers.InsertNode(NNS, InsertPos); 42 return NNS; 140 llvm_unreachable("Invalid NNS Kind!"); 180 llvm_unreachable("Invalid NNS Kind!"); 201 llvm_unreachable("Invalid NNS Kind!"); 219 llvm_unreachable("Invalid NNS Kind!"); 386 llvm_unreachable("Invalid NNS Kind!") [all...] |
ASTDiagnostic.cpp | 335 NestedNameSpecifier *NNS = reinterpret_cast<NestedNameSpecifier*>(Val); 336 NNS->print(OS, Context.getPrintingPolicy()); [all...] |
/external/clang/lib/Sema/ |
SemaCXXScopeSpec.cpp | 81 NestedNameSpecifier *NNS = SS.getScopeRep(); 82 if (NNS->isDependent()) { 85 if (CXXRecordDecl *Record = getCurrentInstantiationOf(NNS)) 89 const Type *NNSType = NNS->getAsType(); 132 switch (NNS->getKind()) { 137 return NNS->getAsNamespace(); 140 return NNS->getAsNamespaceAlias()->getNamespace(); 144 const TagType *Tag = NNS->getAsType()->getAs<TagType>(); 167 /// \param NNS a dependent nested name specifier. 168 CXXRecordDecl *Sema::getCurrentInstantiationOf(NestedNameSpecifier *NNS) { [all...] |
SemaLookup.cpp | [all...] |
SemaCodeComplete.cpp | [all...] |
SemaExprCXX.cpp | 51 NestedNameSpecifier *NNS = SS.getScopeRep(); 55 switch (NNS->getKind()) { 58 Type = QualType(NNS->getAsType(), 0); 64 assert(NNS->getAsIdentifier() == &Name && "not a constructor name"); 65 Type = Context.getDependentNameType(ETK_None, NNS->getPrefix(), 66 NNS->getAsIdentifier()); 121 NestedNameSpecifier *NNS = SS.getScopeRep(); 150 } else if (LookAtPrefix && (Prefix = NNS->getPrefix())) { [all...] |
SemaTemplate.cpp | [all...] |
SemaType.cpp | [all...] |
SemaDecl.cpp | 175 auto *NNS = NestedNameSpecifier::Create(Context, nullptr, false, 177 QualType T = Context.getDependentNameType(ETK_Typename, NNS, &II); 180 SS.MakeTrivial(Context, NNS, SourceRange(NameLoc)); 295 NestedNameSpecifier *NNS = Correction.getCorrectionSpecifier(); 297 if (SS && NNS) { 298 NewSS.MakeTrivial(Context, NNS, SourceRange(NameLoc)); 301 if (Correction && (NNS || NewII != &II) && 316 if (SS && NNS) 317 SS->MakeTrivial(Context, NNS, SourceRange(NameLoc)); 413 // Builds a fake NNS for the given decl context [all...] |
SemaExpr.cpp | [all...] |
/external/clang/include/clang/AST/ |
Type.h | [all...] |
/external/clang/lib/Serialization/ |
ASTReader.cpp | [all...] |
/external/clang/tools/libclang/ |
CIndex.cpp | [all...] |