| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/ |
| H A D | MacroInfo.h | 379 DefInfo getDefinition(); 380 const DefInfo getDefinition() const { in getDefinition() function 381 return const_cast<MacroDirective *>(this)->getDefinition(); in getDefinition() 385 if (const DefInfo Def = getDefinition()) in isDefined() 391 return getDefinition().getMacroInfo(); in getMacroInfo() 393 MacroInfo *getMacroInfo() { return getDefinition().getMacroInfo(); } in getMacroInfo() 478 return DefDirective->getPrevious()->getDefinition(); in getPreviousDefinition()
|
| H A D | PreprocessingRecord.h | 189 if (MacroDefinitionRecord *Def = getDefinition()) in getName() 196 MacroDefinitionRecord *getDefinition() const { in getDefinition() function
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 97 if (const ObjCProtocolDecl *Def = Proto->getDefinition()) in getMethod() 184 if (const ObjCProtocolDecl *Def = Proto->getDefinition()) in findPropertyDecl() 242 if (const ObjCProtocolDecl *Def = Proto->getDefinition()) in FindPropertyDeclaration() 315 if (const ObjCInterfaceDecl *def = getDefinition()) in getTypeParamList() 349 if (ObjCInterfaceDecl *superDef = superDecl->getDefinition()) in getSuperClass() 569 getCanonicalDecl()->getDefinition() == getDefinition()) in isDesignatedInitializer() 1585 if (const ObjCInterfaceDecl *Def = getDefinition()) { in getImplementation() 1598 getASTContext().setObjCImplementation(getDefinition(), ImplD); in setImplementation() 1953 const ObjCProtocolDecl *Def = getDefinition(); in lookupMethod() 1982 if (const ObjCProtocolDecl *PDecl = getDefinition()) { in collectPropertiesToImplement() [all …]
|
| H A D | DeclBase.cpp | 483 Definition = ID->getDefinition(); in getExternalSourceSymbolAttr() 485 Definition = PD->getDefinition(); in getExternalSourceSymbolAttr() 487 Definition = TD->getDefinition(); in getExternalSourceSymbolAttr() 1239 if (auto *Def = OID->getDefinition()) in getPrimaryContext() 1245 if (auto *Def = OPD->getDefinition()) in getPrimaryContext() 1262 if (TagDecl *Def = Tag->getDefinition()) in getPrimaryContext()
|
| H A D | ExternalASTMerger.cpp | 315 if (!SourceTag->getDefinition()) in CompleteType() 335 if (!SourceInterface->getDefinition()) in CompleteType()
|
| H A D | ASTImporter.cpp | 1694 if (FromRecord->getDefinition() && FromRecord->isCompleteDefinition() && in ImportDefinitionIfNeeded() 1695 !ToRecord->getDefinition()) { in ImportDefinitionIfNeeded() 1705 if (FromEnum->getDefinition() && !ToEnum->getDefinition()) { in ImportDefinitionIfNeeded() 1907 assert(From->isCompleteDefinition() && To->getDefinition() == To && in ImportImplicitMethods() 1944 if (To->getDefinition() || To->isBeingDefined()) { in ImportDefinition() 2073 if (To->getDefinition() || To->isBeingDefined()) { in ImportDefinition() 2693 EnumDecl *FoundDef = FoundEnum->getDefinition(); in VisitEnumDecl() 2829 RecordDecl *FoundDef = FoundRecord->getDefinition(); in VisitRecordDecl() 3985 VarDecl *FoundDef = FoundVar->getDefinition(); in VisitVarDecl() 4432 if (To->getDefinition()) { in ImportDefinition() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRFindingAction.cpp | 117 if (!RecordDecl->getDefinition()) { in handleCXXRecordDecl() 121 RecordDecl = RecordDecl->getDefinition(); in handleCXXRecordDecl() 159 const auto* RecordDecl = RD->getDefinition(); in addUSRsOfCtorDtors()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | RecordLayout.h | 252 Base = Base->getDefinition(); in getBaseClassOffset() 262 VBase = VBase->getDefinition(); in getVBaseClassOffset()
|
| H A D | Decl.h | 1215 VarDecl *getDefinition(ASTContext &); 1216 const VarDecl *getDefinition(ASTContext &C) const { in getDefinition() function 1217 return const_cast<VarDecl*>(this)->getDefinition(C); in getDefinition() 1219 VarDecl *getDefinition() { in getDefinition() function 1220 return getDefinition(getASTContext()); in getDefinition() 1222 const VarDecl *getDefinition() const { in getDefinition() function 1223 return const_cast<VarDecl*>(this)->getDefinition(); in getDefinition() 2088 FunctionDecl *getDefinition() { in getDefinition() function 2094 const FunctionDecl *getDefinition() const { in getDefinition() function 2095 return const_cast<FunctionDecl *>(this)->getDefinition(); in getDefinition() [all …]
|
| H A D | DeclObjC.h | 1437 if (const ObjCInterfaceDecl *Def = getDefinition()) in ivar_begin() 1445 if (const ObjCInterfaceDecl *Def = getDefinition()) in ivar_end() 1507 return getDefinition() == this; in isThisDeclarationADefinition() 1525 ObjCInterfaceDecl *getDefinition() { in getDefinition() function 1532 const ObjCInterfaceDecl *getDefinition() const { in getDefinition() function 2194 ObjCProtocolDecl *getDefinition() { in getDefinition() function 2199 const ObjCProtocolDecl *getDefinition() const { in getDefinition() function 2206 return getDefinition() == this; in isThisDeclarationADefinition()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
| H A D | Program.cpp | 189 F = F->getDefinition(); in getFunction() 200 if (const FunctionDecl *FD = F->getDefinition()) in getOrCreateFunction() 209 RD = RD->getDefinition(); in getOrCreateRecord()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/ |
| H A D | MacroInfo.cpp | 178 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition() function in MacroDirective 205 for (DefInfo Def = getDefinition(); Def; Def = Def.getPreviousDefinition()) { in findDirectiveAtLoc()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CodeGenTBAA.cpp | 101 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in isValidBaseType() 284 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in CollectFields() 336 const RecordDecl *RD = TTy->getDecl()->getDefinition(); in getBaseTypeInfoHelper()
|
| H A D | ModuleBuilder.cpp | 119 if (auto Def = TD->getDefinition()) in GetDeclForMangledName()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
| H A D | UninitializedObjectChecker.cpp | 282 const RecordDecl *RD = R->getValueType()->getAsRecordDecl()->getDefinition(); in isNonUnionUninit() 522 return M->getDefinition()->getBody(); in getMethodBody() 535 Parent = Parent->getDefinition(); in hasUnguardedAccess()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/ |
| H A D | CallGraph.h | 197 FunctionDecl *getDefinition() const { in getDefinition() function 198 return getDecl()->getAsFunction()->getDefinition(); in getDefinition()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | PaddingChecker.cpp | 78 if (!(RD = RD->getDefinition())) in visitRecord() 134 if (!(RD = RD->getDefinition())) in shouldSkipDecl()
|
| H A D | DynamicTypeChecker.cpp | 150 return Decl->getDefinition(); in hasDefinition()
|
| H A D | IvarInvalidationChecker.cpp | 258 containsInvalidationMethod(I->getDefinition(), OutInfo, Partial); in containsInvalidationMethod() 272 containsInvalidationMethod(I->getDefinition(), OutInfo, Partial); in containsInvalidationMethod()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/ |
| H A D | ASTCommon.cpp | 298 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext() 327 = cast<ObjCProtocolDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | PtrTypesSemantics.cpp | 68 R = R->getDefinition(); in isRefCountable()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 866 ->getDefinition() == prevTypeParam->getDeclContext())) { in checkTypeParamListConsistency() 1059 if (ObjCInterfaceDecl *Def = PrevIDecl->getDefinition()) { in ActOnStartClassInterface() 1222 if (ObjCProtocolDecl *Def = PrevDecl? PrevDecl->getDefinition() : nullptr) { in ActOnStartProtocolInterface() 1281 !PDecl->getDefinition()->isUnconditionallyVisible()) { in NestedProtocolHasNoDefinition() 1318 if (!PDecl->isThisDeclarationADefinition() && PDecl->getDefinition()) in FindProtocolDeclaration() 1319 PDecl = PDecl->getDefinition(); in FindProtocolDeclaration() 1461 if (!proto->isThisDeclarationADefinition() && proto->getDefinition()) in actOnObjCTypeArgsOrProtocolQualifiers() 1462 proto = proto->getDefinition(); in actOnObjCTypeArgsOrProtocolQualifiers() 2741 PDecl->getDefinition()) in CheckProtocolMethodDefs() 2742 PDecl = PDecl->getDefinition(); in CheckProtocolMethodDefs() [all …]
|
| H A D | SemaTemplateInstantiate.cpp | 2632 = cast_or_null<CXXRecordDecl>(Pattern->getDefinition()); in InstantiateClass() 2888 EnumDecl *PatternDef = Pattern->getDefinition(); in InstantiateEnum() 3303 if (!Var->getInstantiatedFromStaticDataMember()->getDefinition()) in InstantiateClassMembers() 3354 if (!Record->getDefinition()) { in InstantiateClassMembers() 3355 if (!Pattern->getDefinition()) { in InstantiateClassMembers() 3382 Pattern = cast_or_null<CXXRecordDecl>(Record->getDefinition()); in InstantiateClassMembers() 3401 if (Enum->getDefinition()) in InstantiateClassMembers() 3408 if (!Pattern->getDefinition()) in InstantiateClassMembers()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| H A D | CallGraph.cpp | 98 if (FunctionDecl *Def = Ctor->getDefinition()) in VisitCXXConstructExpr()
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/ |
| H A D | CXCursor.h | 189 const MacroDefinitionRecord *getDefinition() const;
|