Home
last modified time | relevance | path

Searched refs:isCanonicalDecl (Results 1 – 12 of 12) sorted by relevance

/external/clang/lib/Serialization/
DASTWriterDecl.cpp416 if (D->isCanonicalDecl()) { in VisitFunctionDecl()
1020 if (D->isCanonicalDecl()) { in VisitCXXMethodDecl()
1147 assert(I->isCanonicalDecl() && "Expected only canonical decls in set"); in VisitClassTemplateDecl()
1156 assert(I->isCanonicalDecl() && "Expected only canonical decls in set"); in VisitClassTemplateDecl()
1181 Record.push_back(D->isCanonicalDecl()); in VisitClassTemplateSpecializationDecl()
1183 if (D->isCanonicalDecl()) { in VisitClassTemplateSpecializationDecl()
1223 assert(I->isCanonicalDecl() && "Expected only canonical decls in set"); in VisitVarTemplateDecl()
1233 assert(I->isCanonicalDecl() && "Expected only canonical decls in set"); in VisitVarTemplateDecl()
1264 Record.push_back(D->isCanonicalDecl()); in VisitVarTemplateSpecializationDecl()
1266 if (D->isCanonicalDecl()) { in VisitVarTemplateSpecializationDecl()
[all …]
DASTReaderDecl.cpp656 if (FD->isCanonicalDecl()) { // if canonical add to template's set. in VisitFunctionDecl()
1734 if (D->isCanonicalDecl()) { // It's kept in the folding set. in VisitClassTemplateSpecializationDeclImpl()
1870 if (D->isCanonicalDecl()) { // It's kept in the folding set. in VisitVarTemplateSpecializationDeclImpl()
/external/clang/tools/libclang/
DIndexingContext.cpp583 DeclInfo DInfo(!D->isCanonicalDecl(), isDef, isContainer); in handleObjCMethod()
641 DeclInfo DInfo(/*isRedeclaration=*/!D->isCanonicalDecl(), in handleFunctionTemplate()
648 DeclInfo DInfo(/*isRedeclaration=*/!D->isCanonicalDecl(), in handleTypeAliasTemplate()
759 CXXClassDeclInfo CXXDInfo(/*isRedeclaration=*/!OrigD->isCanonicalDecl(), in handleCXXRecordDecl()
782 DeclInfo DInfo(/*isRedeclaration=*/!OrigD->isCanonicalDecl(), in handleCXXRecordDecl()
/external/clang/lib/AST/
DDeclTemplate.cpp366 assert(Existing->isCanonicalDecl() && "Non-canonical specialization?"); in AddSpecialization()
387 assert(Existing->isCanonicalDecl() && "Non-canonical specialization?"); in AddPartialSpecialization()
999 assert(Existing->isCanonicalDecl() && "Non-canonical specialization?"); in AddSpecialization()
1019 assert(Existing->isCanonicalDecl() && "Non-canonical specialization?"); in AddPartialSpecialization()
DDeclCXX.cpp1516 assert(MD->isCanonicalDecl() && "Method is not canonical!"); in addOverriddenMethod()
DASTDumper.cpp1147 !D->isCanonicalDecl()); in VisitTemplateDecl()
DASTContext.cpp1225 assert(Method->isCanonicalDecl() && Overridden->isCanonicalDecl()); in addOverriddenMethod()
/external/clang/lib/Sema/
DIdentifierResolver.cpp280 if (RD->isCanonicalDecl()) in compareDeclarations()
DSemaType.cpp5137 (Redecl->isCanonicalDecl() && !*Suggested)) in hasVisibleDefinition()
DSemaDecl.cpp7854 Method->isCanonicalDecl()) { in CheckFunctionDeclaration()
10123 if (getLangOpts().MicrosoftExt && FD->isPure() && FD->isCanonicalDecl()) in ActOnFinishFunctionBody()
/external/clang/include/clang/AST/
DDeclBase.h711 bool isCanonicalDecl() const { return getCanonicalDecl() == this; } in isCanonicalDecl() function
DDeclCXX.h267 if (Canon->isCanonicalDecl()) in update()