Searched refs:FirstDecl (Results 1 – 13 of 13) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ODRDiagsEmitter.cpp | 638 DR.FirstDecl = FirstIt == FirstHashes.end() ? nullptr : FirstIt->first; in FindTypeDiffs() 642 DR.FirstDecl ? DifferenceSelector(DR.FirstDecl) : EndOfClass; in FindTypeDiffs() 657 if (DR.FirstDecl) { in diagnoseSubMismatchUnexpected() 658 Diag(DR.FirstDecl->getLocation(), diag::note_first_module_difference) in diagnoseSubMismatchUnexpected() 659 << FirstRecord << DR.FirstDecl->getSourceRange(); in diagnoseSubMismatchUnexpected() 694 GetMismatchedDeclLoc(FirstRecord, DR.FirstDiffType, DR.FirstDecl); in diagnoseSubMismatchDifferentDeclKinds() 834 const NamedDecl *FirstDecl = std::get<0>(Pair); in diagnoseMismatch() local 836 if (computeODRHash(FirstDecl) == computeODRHash(SecondDecl)) in diagnoseMismatch() 839 assert(FirstDecl->getKind() == SecondDecl->getKind() && in diagnoseMismatch() 859 bool hasFirstArg = hasDefaultArg(FirstDecl); in diagnoseMismatch() [all …]
|
H A D | DeclBase.cpp | 1580 ExternalLast->NextInContextAndBits.setPointer(FirstDecl); in LoadLexicalDeclsFromExternalStorage() 1581 FirstDecl = ExternalFirst; in LoadLexicalDeclsFromExternalStorage() 1621 return decl_iterator(FirstDecl); in decls_begin() 1628 return !FirstDecl; in decls_empty() 1688 if (D == FirstDecl) { in removeDecl() 1690 FirstDecl = LastDecl = nullptr; in removeDecl() 1692 FirstDecl = D->NextInContextAndBits.getPointer(); in removeDecl() 1694 for (Decl *I = FirstDecl; true; I = I->NextInContextAndBits.getPointer()) { in removeDecl() 1742 if (FirstDecl) { in addHiddenDecl() 1746 FirstDecl = LastDecl = D; in addHiddenDecl() [all …]
|
H A D | Decl.cpp | 5064 return field_iterator(decl_iterator(FirstDecl)); in field_begin() 5095 std::tie(FirstDecl, LastDecl) = DeclContext::BuildDeclChain(Decls, false); in reorderDecls() 5125 ExternalLast->NextInContextAndBits.setPointer(FirstDecl); in LoadFieldsFromExternalStorage() 5126 FirstDecl = ExternalFirst; in LoadFieldsFromExternalStorage()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ODRDiagsEmitter.h | 122 const Decl *FirstDecl = nullptr, *SecondDecl = nullptr; member
|
H A D | DeclBase.h | 2059 mutable Decl *FirstDecl = nullptr; 2360 decl_iterator noload_decls_begin() const { return decl_iterator(FirstDecl); } 2691 return D && (D->NextInContextAndBits.getPointer() || D == FirstDecl ||
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LoopRotationUtils.cpp | 769 auto *FirstDecl = in rotateLoop() local 772 cloneAndAdaptNoAliasScopes(NoAliasDeclScopes, FirstDecl, LastInst, in rotateLoop()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | Parser.cpp | 607 ImportState = Sema::ModuleImportState::FirstDecl; in ParseFirstTopLevelDecl() 767 if (ImportState == Sema::ModuleImportState::FirstDecl) in ParseTopLevelDecl() 2483 if (ImportState != Sema::ModuleImportState::FirstDecl) { in ParseModuleDecl() 2619 case Sema::ModuleImportState::FirstDecl: in ParseModuleImport()
|
H A D | ParseDecl.cpp | 2515 Decl *FirstDecl = in ParseDeclGroup() local 2518 ParseLexedAttributeList(LateParsedAttrs, FirstDecl, true, false); in ParseDeclGroup() 2519 D.complete(FirstDecl); in ParseDeclGroup() 2520 if (FirstDecl) in ParseDeclGroup() 2521 DeclsInGroup.push_back(FirstDecl); in ParseDeclGroup()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaModule.cpp | 265 bool IsFirstDecl = ImportState == ModuleImportState::FirstDecl; in ActOnModuleDecl()
|
H A D | SemaDecl.cpp | 970 NamedDecl *FirstDecl = Corrected.getFoundDecl(); in ClassifyName() local 1006 if (FirstDecl) in ClassifyName() 1007 Result.addDecl(FirstDecl); in ClassifyName() 1148 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); in ClassifyName() local 1149 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) { in ClassifyName() 1155 ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(FirstDecl); in ClassifyName() 1159 dyn_cast<ObjCCompatibleAliasDecl>(FirstDecl)) in ClassifyName() 1177 if (isa<ConceptDecl>(FirstDecl)) { in ClassifyName() 1182 TemplateName(cast<TemplateDecl>(FirstDecl))); in ClassifyName() 1185 if (auto *EmptyD = dyn_cast<UnresolvedUsingIfExistsDecl>(FirstDecl)) { in ClassifyName() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 2803 auto *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID)); in VisitRedeclarable() local 2804 if (FirstDecl != D) { in VisitRedeclarable() 2809 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(FirstDecl); in VisitRedeclarable() 2810 D->First = FirstDecl->getCanonicalDecl(); in VisitRedeclarable()
|
H A D | ASTReader.cpp | 1702 const unaligned_decl_id_t *FirstDecl = F->FileSortedDecls + Record[6]; in ReadSLocEntry() local 1705 FileDeclsInfo(F, llvm::ArrayRef(FirstDecl, NumFileDecls)); in ReadSLocEntry()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 9625 FirstDecl, ///< Parsing the first decl in a TU. enumerator
|