/external/clang/tools/libclang/ |
IndexTypeSourceInfo.cpp | 36 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) { 37 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC); 116 void IndexingContext::indexNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS, 119 if (!NNS) 122 if (NestedNameSpecifierLoc Prefix = NNS.getPrefix()) 127 SourceLocation Loc = NNS.getSourceRange().getBegin(); 129 switch (NNS.getNestedNameSpecifier()->getKind()) { 135 handleReference(NNS.getNestedNameSpecifier()->getAsNamespace(), 139 handleReference(NNS.getNestedNameSpecifier()->getAsNamespaceAlias(), 145 indexTypeLoc(NNS.getTypeLoc(), Parent, DC) [all...] |
IndexBody.cpp | 36 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) { 37 IndexCtx.indexNestedNameSpecifierLoc(NNS, Parent, ParentDC);
|
CursorVisitor.h | 241 bool VisitNestedNameSpecifier(NestedNameSpecifier *NNS, SourceRange Range); 242 bool VisitNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS);
|
RecursiveASTVisitor.h | 188 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS); 194 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS); 578 NestedNameSpecifier *NNS) { 579 if (!NNS) 582 if (NNS->getPrefix()) 583 TRY_TO(TraverseNestedNameSpecifier(NNS->getPrefix())); 585 switch (NNS->getKind()) { 594 TRY_TO(TraverseType(QualType(NNS->getAsType(), 0))); 602 NestedNameSpecifierLoc NNS) { 603 if (!NNS) [all...] |
IndexingContext.h | 391 void indexNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS,
|
CIndex.cpp | [all...] |
/external/clang/include/clang/Sema/ |
TypoCorrection.h | 42 NestedNameSpecifier *NNS = 0, unsigned CharDistance = 0, 44 : CorrectionName(Name), CorrectionNameSpec(NNS), 51 TypoCorrection(NamedDecl *Name, NestedNameSpecifier *NNS = 0, 53 : CorrectionName(Name->getDeclName()), CorrectionNameSpec(NNS), 60 TypoCorrection(DeclarationName Name, NestedNameSpecifier *NNS = 0, 62 : CorrectionName(Name), CorrectionNameSpec(NNS), 80 void setCorrectionSpecifier(NestedNameSpecifier* NNS) { 81 CorrectionNameSpec = NNS; 82 ForceSpecifierReplacement = (NNS != 0);
|
/external/clang/lib/ASTMatchers/ |
ASTMatchFinder.cpp | 118 else if (const NestedNameSpecifier *NNS = 120 traverse(*NNS); 184 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS) { 186 return (NNS == NULL) || traverse(*NNS); 188 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) { 189 if (!NNS) 192 if (!match(*NNS.getNestedNameSpecifier())) 194 return traverse(NNS); 233 bool baseTraverse(const NestedNameSpecifier &NNS) { [all...] |
/external/clang/include/clang/AST/ |
TemplateName.h | 399 QualifiedTemplateName(NestedNameSpecifier *NNS, bool TemplateKeyword, 401 : Qualifier(NNS, TemplateKeyword? 1 : 0), 424 static void Profile(llvm::FoldingSetNodeID &ID, NestedNameSpecifier *NNS, 426 ID.AddPointer(NNS); 525 static void Profile(llvm::FoldingSetNodeID &ID, NestedNameSpecifier *NNS, 527 ID.AddPointer(NNS); 532 static void Profile(llvm::FoldingSetNodeID &ID, NestedNameSpecifier *NNS, 534 ID.AddPointer(NNS);
|
NestedNameSpecifier.h | 477 NestedNameSpecifier *NNS) { 478 DB.AddTaggedVal(reinterpret_cast<intptr_t>(NNS),
|
RecursiveASTVisitor.h | 195 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS); 201 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS); 644 NestedNameSpecifier *NNS) { 645 if (!NNS) 648 if (NNS->getPrefix()) 649 TRY_TO(TraverseNestedNameSpecifier(NNS->getPrefix())); 651 switch (NNS->getKind()) { 660 TRY_TO(TraverseType(QualType(NNS->getAsType(), 0))); 668 NestedNameSpecifierLoc NNS) { 669 if (!NNS) [all...] |
ASTContext.h | [all...] |
Type.h | [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...] |
SemaTemplate.cpp | [all...] |
SemaType.cpp | [all...] |
/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; 138 llvm_unreachable("Invalid NNS Kind!"); 178 llvm_unreachable("Invalid NNS Kind!"); 199 llvm_unreachable("Invalid NNS Kind!"); 217 llvm_unreachable("Invalid NNS Kind!"); 384 llvm_unreachable("Invalid NNS Kind!") [all...] |
ASTContext.cpp | [all...] |
StmtProfile.cpp | 54 void VisitNestedNameSpecifier(NestedNameSpecifier *NNS); 1197 void StmtProfiler::VisitNestedNameSpecifier(NestedNameSpecifier *NNS) { 1199 NNS = Context.getCanonicalNestedNameSpecifier(NNS); 1200 ID.AddPointer(NNS); [all...] |
Type.cpp | [all...] |
/external/clang/lib/Serialization/ |
ASTWriter.cpp | [all...] |
ASTReader.cpp | [all...] |
/external/clang/include/clang/Serialization/ |
ASTWriter.h | 600 void AddNestedNameSpecifier(NestedNameSpecifier *NNS, RecordDataImpl &Record); 603 void AddNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS,
|
/external/clang/unittests/ASTMatchers/ |
ASTMatchersTest.cpp | 666 } else if (const NestedNameSpecifier *NNS = 669 NNS->print(OS, PrintingPolicy(LangOptions())); [all...] |