Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DRedeclarable.h163 bool isFirstDecl() const { return RedeclLink.NextIsLatest(); } in isFirstDecl() function
203 if (Current->isFirstDecl()) {
280 bool isFirstDecl() const { return getFirstDecl() == this; } in isFirstDecl() function
DDecl.h510 using redeclarable_base::isFirstDecl;
934 using redeclarable_base::isFirstDecl;
1718 using redeclarable_base::isFirstDecl;
2640 using redeclarable_base::isFirstDecl;
2844 using redeclarable_base::isFirstDecl;
DDeclObjC.h1812 using redeclarable_base::isFirstDecl;
2134 using redeclarable_base::isFirstDecl;
DDeclBase.h852 bool isFirstDecl() const { in isFirstDecl() function
DDeclCXX.h2878 using redeclarable_base::isFirstDecl;
DDeclTemplate.h811 using redeclarable_base::isFirstDecl;
/external/clang/tools/libclang/
DCXIndexDataConsumer.cpp605 DeclInfo DInfo(!D->isFirstDecl(), isDef, isContainer); in handleFunction()
612 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(), in handleVar()
639 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(), in handleTagDecl()
645 DeclInfo DInfo(!D->isFirstDecl(), /*isDefinition=*/true, in handleTypedefName()
/external/clang/lib/AST/
DDeclCXX.cpp2085 if (isFirstDecl()) in getOriginalNamespace()
2092 if (isFirstDecl()) in getOriginalNamespace()
2098 bool NamespaceDecl::isOriginalNamespace() const { return isFirstDecl(); } in isOriginalNamespace()
DASTContext.cpp3200 assert(Record->isFirstDecl() && "struct/union has previous declaration"); in getTypeDeclTypeSlow()
3204 assert(Enum->isFirstDecl() && "enum has previous declaration"); in getTypeDeclTypeSlow()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp1324 if (D->isFirstDecl()) { in VisitRedeclarableTemplateDecl()
1338 if (D->isFirstDecl()) in VisitClassTemplateDecl()
1398 if (D->isFirstDecl()) in VisitVarTemplateDecl()
1465 if (D->isFirstDecl()) in VisitFunctionTemplateDecl()
DASTReaderDecl.cpp418 if (Current->isFirstDecl()) { in operator ++()
2311 if (!DBase->isFirstDecl()) in mergeRedeclarable()
/external/clang/lib/Sema/
DSemaDecl.cpp6464 if (NewVD->isFirstDecl() && !NewVD->isInvalidDecl() && in ActOnVariableDeclarator()
8519 if (NewFD->isFirstDecl() && !NewFD->isInvalidDecl() && in ActOnFunctionDeclarator()
10107 if (Var->isFirstDecl()) in ActOnUninitializedDecl()
11492 if (!FD->isFirstDecl() && FD->getPreviousDecl()->isUsed()) { in ActOnFinishFunctionBody()