Home
last modified time | relevance | path

Searched refs:isRedeclaration (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang/tools/libclang/
H A DCXIndexDataConsumer.h86 DeclInfo(bool isRedeclaration, bool isDefinition, bool isContainer) in DeclInfo()
88 this->isRedeclaration = isRedeclaration; in DeclInfo()
97 bool isRedeclaration, bool isDefinition, bool isContainer) in DeclInfo()
99 this->isRedeclaration = isRedeclaration; in DeclInfo()
113 bool isRedeclaration, in ObjCContainerDeclInfo()
115 : DeclInfo(Info_ObjCContainer, isRedeclaration, in ObjCContainerDeclInfo()
121 bool isRedeclaration, in ObjCContainerDeclInfo()
123 : DeclInfo(K, isRedeclaration, /*isDefinition=*/!isForwardRef, in ObjCContainerDeclInfo()
203 CXXClassDeclInfo(bool isRedeclaration, bool isDefinition) in CXXClassDeclInfo()
204 : DeclInfo(Info_CXXClass, isRedeclaration, isDefinition, isDefinition) { } in CXXClassDeclInfo()
H A DCXIndexDataConsumer.cpp670 bool isRedeclaration = D->hasDefinition() || D->getPreviousDecl(); in handleObjCInterface() local
671 ObjCContainerDeclInfo ContDInfo(/*isForwardRef=*/true, isRedeclaration, in handleObjCInterface()
725 bool isRedeclaration = D->hasDefinition() || D->getPreviousDecl(); in handleObjCProtocol() local
727 isRedeclaration, in handleObjCProtocol()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclObjC.cpp967 if (!Redecl && isRedeclaration()) { in getNextRedeclarationImpl()
1001 if (isRedeclaration()) { in getCanonicalDecl()
1329 if (Method->isRedeclaration()) { in getOverriddenMethods()
/llvm-project-15.0.7/clang/include/clang-c/
H A DIndex.h6434 int isRedeclaration; member
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp6598 bool Redeclaration = D.isRedeclaration(); in ActOnTypedefDeclarator()
7897 if (ShadowedDecl && !D.isRedeclaration()) in ActOnVariableDeclarator()
7937 if (D.isRedeclaration() && !Previous.empty()) { in ActOnVariableDeclarator()
8785 bool wasRedeclaration = ExtraArgs.D.isRedeclaration(); in DiagnoseInvalidRedeclaration()
10015 assert((NewFD->isInvalidDecl() || !D.isRedeclaration() || in ActOnFunctionDeclarator()
10168 assert((NewFD->isInvalidDecl() || !D.isRedeclaration() || in ActOnFunctionDeclarator()
10210 } else if (!D.isRedeclaration()) { in ActOnFunctionDeclarator()
10290 if (!D.isRedeclaration()) { in ActOnFunctionDeclarator()
10369 if (D.isRedeclaration() && !Previous.empty()) { in ActOnFunctionDeclarator()
H A DSemaDeclCXX.cpp874 } else if (ShadowedDecl && !D.isRedeclaration()) { in ActOnDecompositionDeclarator()
17239 if (D.isRedeclaration()) { in ActOnFriendFunctionDecl()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DDeclSpec.h2643 bool isRedeclaration() const { return Redeclaration; } in isRedeclaration() function
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclObjC.h269 bool isRedeclaration() const { return ObjCMethodDeclBits.IsRedeclaration; } in isRedeclaration() function
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterDecl.cpp706 Record.push_back(D->isRedeclaration()); in VisitObjCMethodDecl()
/llvm-project-15.0.7/clang/tools/c-index-test/
H A Dc-index-test.c3741 printf(" | isRedecl: %d", info->isRedeclaration); in index_indexDeclaration()