Searched refs:getDefinition (Results 1 - 25 of 78) sorted by relevance

1234

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DMacroInfo.h379 DefInfo getDefinition();
380 const DefInfo getDefinition() const { function in namespace:clang
381 return const_cast<MacroDirective *>(this)->getDefinition();
385 if (const DefInfo Def = getDefinition())
391 return getDefinition().getMacroInfo();
393 MacroInfo *getMacroInfo() { return getDefinition().getMacroInfo(); }
478 return DefDirective->getPrevious()->getDefinition();
H A DPreprocessingRecord.h189 if (MacroDefinitionRecord *Def = getDefinition())
196 MacroDefinitionRecord *getDefinition() const { function in class:clang::MacroExpansion
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp107 if (!RecordDecl->getDefinition()) {
111 RecordDecl = RecordDecl->getDefinition();
130 const auto* RecordDecl = RD->getDefinition();
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp63 R = R->getDefinition();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
H A DMacroInfo.cpp178 MacroDirective::DefInfo MacroDirective::getDefinition() { function in class:MacroDirective
205 for (DefInfo Def = getDefinition(); Def; Def = Def.getPreviousDefinition()) {
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DCallGraph.h197 FunctionDecl *getDefinition() const { function in class:clang::CallGraphNode
198 return getDecl()->getAsFunction()->getDefinition();
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp101 const RecordDecl *RD = TTy->getDecl()->getDefinition();
284 const RecordDecl *RD = TTy->getDecl()->getDefinition();
336 const RecordDecl *RD = TTy->getDecl()->getDefinition();
H A DModuleBuilder.cpp119 if (auto Def = TD->getDefinition())
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp282 const RecordDecl *RD = R->getValueType()->getAsRecordDecl()->getDefinition();
522 return M->getDefinition()->getBody();
535 Parent = Parent->getDefinition();
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.cpp189 F = F->getDefinition();
200 if (const FunctionDecl *FD = F->getDefinition())
209 RD = RD->getDefinition();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.cpp288 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition())
317 = cast<ObjCProtocolDecl>(DC)->getDefinition())
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp78 if (!(RD = RD->getDefinition()))
134 if (!(RD = RD->getDefinition()))
H A DDynamicTypeChecker.cpp150 return Decl->getDefinition();
H A DLLVMConventionsChecker.cpp250 const RecordDecl *RD = RT->getDecl()->getDefinition();
H A DIvarInvalidationChecker.cpp258 containsInvalidationMethod(I->getDefinition(), OutInfo, Partial);
272 containsInvalidationMethod(I->getDefinition(), OutInfo, Partial);
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp96 if (const ObjCProtocolDecl *Def = Proto->getDefinition())
183 if (const ObjCProtocolDecl *Def = Proto->getDefinition())
241 if (const ObjCProtocolDecl *Def = Proto->getDefinition())
314 if (const ObjCInterfaceDecl *def = getDefinition())
348 if (ObjCInterfaceDecl *superDef = superDecl->getDefinition())
568 getCanonicalDecl()->getDefinition() == getDefinition())
1574 if (const ObjCInterfaceDecl *Def = getDefinition()) {
1587 getASTContext().setObjCImplementation(getDefinition(), ImplD);
1921 const ObjCProtocolDecl *Def = getDefinition();
[all...]
H A DDeclBase.cpp483 Definition = ID->getDefinition();
485 Definition = PD->getDefinition();
487 Definition = TD->getDefinition();
1243 if (auto *Def = OID->getDefinition())
1249 if (auto *Def = OPD->getDefinition())
1266 if (TagDecl *Def = Tag->getDefinition())
H A DExternalASTMerger.cpp315 if (!SourceTag->getDefinition())
335 if (!SourceInterface->getDefinition())
H A DASTImporter.cpp1653 if (FromRecord->getDefinition() && FromRecord->isCompleteDefinition() &&
1654 !ToRecord->getDefinition()) {
1664 if (FromEnum->getDefinition() && !ToEnum->getDefinition()) {
1850 assert(From->isCompleteDefinition() && To->getDefinition() == To &&
1887 if (To->getDefinition() || To->isBeingDefined()) {
2014 if (To->getDefinition() || To->isBeingDefined()) {
2620 EnumDecl *FoundDef = FoundEnum->getDefinition();
2743 RecordDecl *FoundDef = FoundRecord->getDefinition();
3876 VarDecl *FoundDef = FoundVar->getDefinition();
[all...]
H A DRecordLayoutBuilder.cpp3044 if (D->hasExternalLexicalStorage() && !D->getDefinition())
3047 D = D->getDefinition();
3131 assert(RD->getDefinition() && "Cannot get key function for forward decl!");
3132 RD = RD->getDefinition();
3237 if (D->hasExternalLexicalStorage() && !D->getDefinition())
3239 D = D->getDefinition();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1187 VarDecl *getDefinition(ASTContext &);
1188 const VarDecl *getDefinition(ASTContext &C) const {
1189 return const_cast<VarDecl*>(this)->getDefinition(C);
1191 VarDecl *getDefinition() {
1192 return getDefinition(getASTContext());
1194 const VarDecl *getDefinition() const {
1195 return const_cast<VarDecl*>(this)->getDefinition();
2039 FunctionDecl *getDefinition() {
2045 const FunctionDecl *getDefinition() const {
2046 return const_cast<FunctionDecl *>(this)->getDefinition();
[all...]
H A DDeclObjC.h1452 if (const ObjCInterfaceDecl *Def = getDefinition())
1460 if (const ObjCInterfaceDecl *Def = getDefinition())
1522 return getDefinition() == this;
1540 ObjCInterfaceDecl *getDefinition() { function in class:clang::ObjCInterfaceDecl
1547 const ObjCInterfaceDecl *getDefinition() const { function in class:clang::ObjCInterfaceDecl
2201 ObjCProtocolDecl *getDefinition() { function in class:clang::ObjCProtocolDecl
2206 const ObjCProtocolDecl *getDefinition() const { function in class:clang::ObjCProtocolDecl
2213 return getDefinition() == this;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DCallGraph.cpp98 if (FunctionDecl *Def = Ctor->getDefinition())
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp196 RD = RD->getDefinition();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp914 if (!Class->getDefinition() || Class->isDependentContext())
982 if (Record->getDefinition() && CanDeclareSpecialMemberFunction(Record)) {
996 if (Record->getDefinition() && Record->needsImplicitDestructor() &&
1006 if (Record->getDefinition() && CanDeclareSpecialMemberFunction(Record)) {
2185 if (!LookupRec || !LookupRec->getDefinition())
3008 RD = RD->getDefinition();
5220 return VD->getDefinition();
5222 return FD->getDefinition();
5224 return TD->getDefinition();
5231 return PD->getDefinition();
[all...]

Completed in 195 milliseconds

1234