Searched refs:isFirstDecl (Results 1 – 14 of 14) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | TriviallyDestructibleCheck.cpp | 25 AST_MATCHER(Decl, isFirstDecl) { return Node.isFirstDecl(); } in AST_MATCHER() argument 42 unless(anyOf(isFirstDecl(), isVirtual(), in registerMatchers()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Redeclarable.h | 223 bool isFirstDecl() const { return RedeclLink.isFirst(); } in isFirstDecl() function 263 if (Current->isFirstDecl()) { 337 bool isFirstDecl() const { return getFirstDecl() == this; } in isFirstDecl() function
|
| H A D | Decl.h | 113 using redeclarable_base::isFirstDecl; 585 using redeclarable_base::isFirstDecl; 1070 using redeclarable_base::isFirstDecl; 2045 using redeclarable_base::isFirstDecl; 3262 using redeclarable_base::isFirstDecl; 3445 using redeclarable_base::isFirstDecl;
|
| H A D | DeclObjC.h | 1890 using redeclarable_base::isFirstDecl; 2243 using redeclarable_base::isFirstDecl;
|
| H A D | DeclBase.h | 1024 bool isFirstDecl() const { in isFirstDecl() function
|
| H A D | DeclTemplate.h | 963 using redeclarable_base::isFirstDecl;
|
| H A D | DeclCXX.h | 3273 using redeclarable_base::isFirstDecl;
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXIndexDataConsumer.cpp | 624 DeclInfo DInfo(!D->isFirstDecl(), isDef, isContainer); in handleFunction() 631 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(), in handleVar() 652 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(), in handleTagDecl() 658 DeclInfo DInfo(!D->isFirstDecl(), /*isDefinition=*/true, in handleTypedefName()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 1527 if (D->isFirstDecl()) { in VisitRedeclarableTemplateDecl() 1541 if (D->isFirstDecl()) in VisitClassTemplateDecl() 1601 if (D->isFirstDecl()) in VisitVarTemplateDecl() 1672 if (D->isFirstDecl()) in VisitFunctionTemplateDecl()
|
| H A D | ASTReaderDecl.cpp | 479 if (Current->isFirstDecl()) { in operator ++() 2644 if (!DBase->isFirstDecl()) in mergeRedeclarable()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 2892 if (isFirstDecl()) in getOriginalNamespace() 2899 if (isFirstDecl()) in getOriginalNamespace() 2905 bool NamespaceDecl::isOriginalNamespace() const { return isFirstDecl(); } in isOriginalNamespace()
|
| H A D | ASTContext.cpp | 4611 assert(Record->isFirstDecl() && "struct/union has previous declaration"); in getTypeDeclTypeSlow() 4615 assert(Enum->isFirstDecl() && "enum has previous declaration"); in getTypeDeclTypeSlow()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 7904 if (NewVD->isFirstDecl() && !NewVD->isInvalidDecl() && in ActOnVariableDeclarator() 10362 if (NewFD->isFirstDecl() && !NewFD->isInvalidDecl() && in ActOnFunctionDeclarator() 13309 if (Var->isFirstDecl()) in ActOnUninitializedDecl()
|
| H A D | SemaExpr.cpp | 19803 (VD->isStaticDataMember() && VD->isFirstDecl() && !VD->isInline())) in DiagIfReachable()
|