HomeSort by relevance Sort by last modified time
    Searched refs:NNS (Results 1 - 25 of 37) sorted by null

1 2

  /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);
IndexingContext.h 384 void indexNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS,
  /external/clang/include/clang/Sema/
TypoCorrection.h 42 NestedNameSpecifier *NNS = nullptr, unsigned CharDistance = 0,
44 : CorrectionName(Name), CorrectionNameSpec(NNS),
52 TypoCorrection(NamedDecl *Name, NestedNameSpecifier *NNS = nullptr,
54 : CorrectionName(Name->getDeclName()), CorrectionNameSpec(NNS),
61 TypoCorrection(DeclarationName Name, NestedNameSpecifier *NNS = nullptr,
63 : CorrectionName(Name), CorrectionNameSpec(NNS),
82 void setCorrectionSpecifier(NestedNameSpecifier* NNS) {
83 CorrectionNameSpec = NNS;
84 ForceSpecifierReplacement = (NNS != nullptr);
  /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 479 NestedNameSpecifier *NNS) {
480 DB.AddTaggedVal(reinterpret_cast<intptr_t>(NNS),
DataRecursiveASTVisitor.h 191 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS);
197 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS);
614 NestedNameSpecifier *NNS) {
615 if (!NNS)
618 if (NNS->getPrefix())
619 TRY_TO(TraverseNestedNameSpecifier(NNS->getPrefix()));
621 switch (NNS->getKind()) {
630 TRY_TO(TraverseType(QualType(NNS->getAsType(), 0)));
638 NestedNameSpecifierLoc NNS) {
639 if (!NNS)
    [all...]
Type.h     [all...]
RecursiveASTVisitor.h 195 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS);
201 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS);
680 NestedNameSpecifier *NNS) {
681 if (!NNS)
684 if (NNS->getPrefix())
685 TRY_TO(TraverseNestedNameSpecifier(NNS->getPrefix()));
687 switch (NNS->getKind()) {
696 TRY_TO(TraverseType(QualType(NNS->getAsType(), 0)));
704 NestedNameSpecifierLoc NNS) {
705 if (!NNS)
    [all...]
ASTContext.h     [all...]
  /external/clang/lib/ASTMatchers/
ASTMatchFinder.cpp 115 else if (const NestedNameSpecifier *NNS =
117 traverse(*NNS);
181 bool TraverseNestedNameSpecifier(NestedNameSpecifier *NNS) {
183 return (NNS == nullptr) || traverse(*NNS);
185 bool TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) {
186 if (!NNS)
189 if (!match(*NNS.getNestedNameSpecifier()))
191 return traverse(NNS);
230 bool baseTraverse(const NestedNameSpecifier &NNS) {
    [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;
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...]
ASTTypeTraits.cpp 69 else if (const NestedNameSpecifier *NNS = get<NestedNameSpecifier>())
70 NNS->print(OS, PP);
ASTContext.cpp     [all...]
StmtProfile.cpp 54 void VisitNestedNameSpecifier(NestedNameSpecifier *NNS);
    [all...]
Type.cpp     [all...]
  /external/clang/lib/Serialization/
ASTWriter.cpp     [all...]
ASTReader.cpp     [all...]
  /external/clang/include/clang/Serialization/
ASTWriter.h 638 void AddNestedNameSpecifier(NestedNameSpecifier *NNS, RecordDataImpl &Record);
641 void AddNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS,
  /external/clang/unittests/ASTMatchers/
ASTMatchersTest.cpp 690 } else if (const NestedNameSpecifier *NNS =
693 NNS->print(OS, PrintingPolicy(LangOptions()));
    [all...]

Completed in 354 milliseconds

1 2