Home
last modified time | relevance | path

Searched refs:FirstDecl (Results 1 – 13 of 13) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DODRDiagsEmitter.cpp642 DR.FirstDecl ? DifferenceSelector(DR.FirstDecl) : EndOfClass; in FindTypeDiffs()
657 if (DR.FirstDecl) { in diagnoseSubMismatchUnexpected()
880 Diag(FirstDecl->getLocation(), in diagnoseMismatch()
911 const Decl *FirstDecl = DR.FirstDecl; in diagnoseMismatch() local
1549 Diag(FirstDecl->getLocation(), in diagnoseMismatch()
1586 const Decl *FirstDecl = DR.FirstDecl; in diagnoseMismatch() local
1645 Diag(FirstDecl->getLocation(), in diagnoseMismatch()
2024 const Decl *FirstDecl = DR.FirstDecl; in diagnoseMismatch() local
2098 Diag(FirstDecl->getLocation(), in diagnoseMismatch()
2152 const Decl *FirstDecl = DR.FirstDecl; in diagnoseMismatch() local
[all …]
H A DDeclBase.cpp1516 ExternalLast->NextInContextAndBits.setPointer(FirstDecl); in LoadLexicalDeclsFromExternalStorage()
1517 FirstDecl = ExternalFirst; in LoadLexicalDeclsFromExternalStorage()
1557 return decl_iterator(FirstDecl); in decls_begin()
1564 return !FirstDecl; in decls_empty()
1624 if (D == FirstDecl) { in removeDecl()
1626 FirstDecl = LastDecl = nullptr; in removeDecl()
1628 FirstDecl = D->NextInContextAndBits.getPointer(); in removeDecl()
1630 for (Decl *I = FirstDecl; true; I = I->NextInContextAndBits.getPointer()) { in removeDecl()
1678 if (FirstDecl) { in addHiddenDecl()
1682 FirstDecl = LastDecl = D; in addHiddenDecl()
[all …]
H A DDecl.cpp5019 return field_iterator(decl_iterator(FirstDecl)); in field_begin()
5044 std::tie(FirstDecl, LastDecl) = DeclContext::BuildDeclChain(Decls, false); in reorderDecls()
5074 ExternalLast->NextInContextAndBits.setPointer(FirstDecl); in LoadFieldsFromExternalStorage()
5075 FirstDecl = ExternalFirst; in LoadFieldsFromExternalStorage()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DODRDiagsEmitter.h122 const Decl *FirstDecl = nullptr, *SecondDecl = nullptr; member
H A DDeclBase.h2046 mutable Decl *FirstDecl = nullptr;
2342 decl_iterator noload_decls_begin() const { return decl_iterator(FirstDecl); }
2673 return D && (D->NextInContextAndBits.getPointer() || D == FirstDecl ||
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopRotationUtils.cpp740 auto *FirstDecl = in rotateLoop() local
743 cloneAndAdaptNoAliasScopes(NoAliasDeclScopes, FirstDecl, LastInst, in rotateLoop()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp606 ImportState = Sema::ModuleImportState::FirstDecl; in ParseFirstTopLevelDecl()
764 if (ImportState == Sema::ModuleImportState::FirstDecl) in ParseTopLevelDecl()
2459 if (ImportState != Sema::ModuleImportState::FirstDecl) { in ParseModuleDecl()
2595 case Sema::ModuleImportState::FirstDecl: in ParseModuleImport()
H A DParseDecl.cpp2337 Decl *FirstDecl = ParseDeclarationAfterDeclaratorAndAttributes( in ParseDeclGroup() local
2340 ParseLexedAttributeList(LateParsedAttrs, FirstDecl, true, false); in ParseDeclGroup()
2341 D.complete(FirstDecl); in ParseDeclGroup()
2342 if (FirstDecl) in ParseDeclGroup()
2343 DeclsInGroup.push_back(FirstDecl); in ParseDeclGroup()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp179 bool IsFirstDecl = ImportState == ModuleImportState::FirstDecl; in ActOnModuleDecl()
H A DSemaDecl.cpp1035 NamedDecl *FirstDecl = Corrected.getFoundDecl(); in ClassifyName() local
1071 if (FirstDecl) in ClassifyName()
1072 Result.addDecl(FirstDecl); in ClassifyName()
1216 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) { in ClassifyName()
1226 dyn_cast<ObjCCompatibleAliasDecl>(FirstDecl)) in ClassifyName()
1244 if (isa<ConceptDecl>(FirstDecl)) in ClassifyName()
1246 TemplateName(cast<TemplateDecl>(FirstDecl))); in ClassifyName()
1254 if (isa<TemplateDecl>(FirstDecl) && !isa<FunctionTemplateDecl>(FirstDecl) && in ClassifyName()
1255 !isa<VarTemplateDecl>(FirstDecl)) in ClassifyName()
1257 TemplateName(cast<TemplateDecl>(FirstDecl))); in ClassifyName()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp2817 auto *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID)); in VisitRedeclarable() local
2818 if (FirstDecl != D) { in VisitRedeclarable()
2823 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(FirstDecl); in VisitRedeclarable()
2824 D->First = FirstDecl->getCanonicalDecl(); in VisitRedeclarable()
H A DASTReader.cpp1662 const DeclID *FirstDecl = F->FileSortedDecls + Record[6]; in ReadSLocEntry() local
1665 FileDeclsInfo(F, llvm::ArrayRef(FirstDecl, NumFileDecls)); in ReadSLocEntry()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3213 FirstDecl, ///< Parsing the first decl in a TU. enumerator