Home
last modified time | relevance | path

Searched refs:isFirstDecl (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DTriviallyDestructibleCheck.cpp25 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 DRedeclarable.h223 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 DDecl.h113 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 DDeclObjC.h1890 using redeclarable_base::isFirstDecl;
2243 using redeclarable_base::isFirstDecl;
H A DDeclBase.h1024 bool isFirstDecl() const { in isFirstDecl() function
H A DDeclTemplate.h963 using redeclarable_base::isFirstDecl;
H A DDeclCXX.h3273 using redeclarable_base::isFirstDecl;
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp624 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 DASTWriterDecl.cpp1527 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 DASTReaderDecl.cpp479 if (Current->isFirstDecl()) { in operator ++()
2644 if (!DBase->isFirstDecl()) in mergeRedeclarable()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclCXX.cpp2892 if (isFirstDecl()) in getOriginalNamespace()
2899 if (isFirstDecl()) in getOriginalNamespace()
2905 bool NamespaceDecl::isOriginalNamespace() const { return isFirstDecl(); } in isOriginalNamespace()
H A DASTContext.cpp4611 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 DSemaDecl.cpp7904 if (NewVD->isFirstDecl() && !NewVD->isInvalidDecl() && in ActOnVariableDeclarator()
10362 if (NewFD->isFirstDecl() && !NewFD->isInvalidDecl() && in ActOnFunctionDeclarator()
13309 if (Var->isFirstDecl()) in ActOnUninitializedDecl()
H A DSemaExpr.cpp19803 (VD->isStaticDataMember() && VD->isFirstDecl() && !VD->isInline())) in DiagIfReachable()