Searched refs:FirstDecl (Results 1 – 8 of 8) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclBase.cpp | 1372 ExternalLast->NextInContextAndBits.setPointer(FirstDecl); in LoadLexicalDeclsFromExternalStorage() 1373 FirstDecl = ExternalFirst; in LoadLexicalDeclsFromExternalStorage() 1413 return decl_iterator(FirstDecl); in decls_begin() 1420 return !FirstDecl; in decls_empty() 1480 if (D == FirstDecl) { in removeDecl() 1482 FirstDecl = LastDecl = nullptr; in removeDecl() 1484 FirstDecl = D->NextInContextAndBits.getPointer(); in removeDecl() 1486 for (Decl *I = FirstDecl; true; I = I->NextInContextAndBits.getPointer()) { in removeDecl() 1530 if (FirstDecl) { in addHiddenDecl() 1534 FirstDecl = LastDecl = D; in addHiddenDecl() [all …]
|
| H A D | Decl.cpp | 4568 return field_iterator(decl_iterator(FirstDecl)); in field_begin() 4614 std::tie(FirstDecl, LastDecl) = BuildDeclChain(Decls, in LoadFieldsFromExternalStorage()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 9923 Decl *FirstDecl = nullptr, *SecondDecl = nullptr; in diagnoseOdrViolations() member 9948 DR.FirstDecl ? DifferenceSelector(DR.FirstDecl) : EndOfClass; in diagnoseOdrViolations() 9967 if (DR.FirstDecl) { in diagnoseOdrViolations() 9991 FirstLoc = DR.FirstDecl->getLocation(); in diagnoseOdrViolations() 9992 FirstRange = DR.FirstDecl->getSourceRange(); in diagnoseOdrViolations() 10210 ODRDiagTemplateError(FirstDecl->getLocation(), in diagnoseOdrViolations() 10221 switch (FirstDecl->getKind()) { in diagnoseOdrViolations() 10347 Decl *FirstDecl = DR.FirstDecl; in diagnoseOdrViolations() local 10878 cast<FunctionTemplateDecl>(FirstDecl); in diagnoseOdrViolations() 11196 Diag(FirstDecl->getLocation(), in diagnoseOdrViolations() [all …]
|
| H A D | ASTReaderDecl.cpp | 2503 auto *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID)); in VisitRedeclarable() local 2504 if (FirstDecl != D) { in VisitRedeclarable() 2509 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(FirstDecl); in VisitRedeclarable() 2510 D->First = FirstDecl->getCanonicalDecl(); in VisitRedeclarable()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LoopRotationUtils.cpp | 530 auto *FirstDecl = in rotateLoop() local 533 cloneAndAdaptNoAliasScopes(NoAliasDeclScopes, FirstDecl, LastInst, in rotateLoop()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclBase.h | 1834 mutable Decl *FirstDecl = nullptr; 2120 decl_iterator noload_decls_begin() const { return decl_iterator(FirstDecl); } 2451 return D && (D->NextInContextAndBits.getPointer() || D == FirstDecl ||
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 967 NamedDecl *FirstDecl = Corrected.getFoundDecl(); in ClassifyName() local 1003 if (FirstDecl) in ClassifyName() 1004 Result.addDecl(FirstDecl); in ClassifyName() 1136 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); in ClassifyName() local 1137 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) { in ClassifyName() 1150 dyn_cast<ObjCCompatibleAliasDecl>(FirstDecl)) in ClassifyName() 1168 if (isa<ConceptDecl>(FirstDecl)) in ClassifyName() 1170 TemplateName(cast<TemplateDecl>(FirstDecl))); in ClassifyName() 1178 if (isa<TemplateDecl>(FirstDecl) && !isa<FunctionTemplateDecl>(FirstDecl) && in ClassifyName() 1179 !isa<VarTemplateDecl>(FirstDecl)) in ClassifyName() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseDecl.cpp | 2092 Decl *FirstDecl = ParseDeclarationAfterDeclaratorAndAttributes( in ParseDeclGroup() local 2095 ParseLexedAttributeList(LateParsedAttrs, FirstDecl, true, false); in ParseDeclGroup() 2096 D.complete(FirstDecl); in ParseDeclGroup() 2097 if (FirstDecl) in ParseDeclGroup() 2098 DeclsInGroup.push_back(FirstDecl); in ParseDeclGroup()
|