| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ODRDiagsEmitter.cpp | 636 DR.FirstDecl = FirstIt == FirstHashes.end() ? nullptr : FirstIt->first; in FindTypeDiffs() 640 DR.FirstDecl ? DifferenceSelector(DR.FirstDecl) : EndOfClass; in FindTypeDiffs() 655 if (DR.FirstDecl) { in diagnoseSubMismatchUnexpected() 656 Diag(DR.FirstDecl->getLocation(), diag::note_first_module_difference) in diagnoseSubMismatchUnexpected() 657 << FirstRecord << DR.FirstDecl->getSourceRange(); in diagnoseSubMismatchUnexpected() 692 GetMismatchedDeclLoc(FirstRecord, DR.FirstDiffType, DR.FirstDecl); in diagnoseSubMismatchDifferentDeclKinds() 832 const NamedDecl *FirstDecl = std::get<0>(Pair); in diagnoseMismatch() local 834 if (computeODRHash(FirstDecl) == computeODRHash(SecondDecl)) in diagnoseMismatch() 837 assert(FirstDecl->getKind() == SecondDecl->getKind() && in diagnoseMismatch() 857 bool hasFirstArg = hasDefaultArg(FirstDecl); in diagnoseMismatch() [all …]
|
| H A D | DeclBase.cpp | 1425 ExternalLast->NextInContextAndBits.setPointer(FirstDecl); in LoadLexicalDeclsFromExternalStorage() 1426 FirstDecl = ExternalFirst; in LoadLexicalDeclsFromExternalStorage() 1466 return decl_iterator(FirstDecl); in decls_begin() 1473 return !FirstDecl; in decls_empty() 1533 if (D == FirstDecl) { in removeDecl() 1535 FirstDecl = LastDecl = nullptr; in removeDecl() 1537 FirstDecl = D->NextInContextAndBits.getPointer(); in removeDecl() 1539 for (Decl *I = FirstDecl; true; I = I->NextInContextAndBits.getPointer()) { in removeDecl() 1587 if (FirstDecl) { in addHiddenDecl() 1591 FirstDecl = LastDecl = D; in addHiddenDecl() [all …]
|
| H A D | Decl.cpp | 4774 return field_iterator(decl_iterator(FirstDecl)); in field_begin() 4799 std::tie(FirstDecl, LastDecl) = DeclContext::BuildDeclChain(Decls, false); in reorderDecls() 4826 std::tie(FirstDecl, LastDecl) = BuildDeclChain(Decls, in LoadFieldsFromExternalStorage()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | ODRDiagsEmitter.h | 122 const Decl *FirstDecl = nullptr, *SecondDecl = nullptr; member
|
| H A D | DeclBase.h | 1897 mutable Decl *FirstDecl = nullptr; 2193 decl_iterator noload_decls_begin() const { return decl_iterator(FirstDecl); } 2524 return D && (D->NextInContextAndBits.getPointer() || D == FirstDecl ||
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | LoopRotationUtils.cpp | 531 auto *FirstDecl = in rotateLoop() local 534 cloneAndAdaptNoAliasScopes(NoAliasDeclScopes, FirstDecl, LastInst, in rotateLoop()
|
| /openbsd-src/gnu/llvm/clang/lib/Parse/ |
| H A D | Parser.cpp | 590 ImportState = Sema::ModuleImportState::FirstDecl; in ParseFirstTopLevelDecl() 747 if (ImportState == Sema::ModuleImportState::FirstDecl) in ParseTopLevelDecl() 2410 if (ImportState != Sema::ModuleImportState::FirstDecl) { in ParseModuleDecl() 2544 case Sema::ModuleImportState::FirstDecl: in ParseModuleImport()
|
| H A D | ParseDecl.cpp | 2196 Decl *FirstDecl = ParseDeclarationAfterDeclaratorAndAttributes( in ParseDeclGroup() local 2199 ParseLexedAttributeList(LateParsedAttrs, FirstDecl, true, false); in ParseDeclGroup() 2200 D.complete(FirstDecl); in ParseDeclGroup() 2201 if (FirstDecl) in ParseDeclGroup() 2202 DeclsInGroup.push_back(FirstDecl); in ParseDeclGroup()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaModule.cpp | 185 bool IsFirstDecl = ImportState == ModuleImportState::FirstDecl; in ActOnModuleDecl()
|
| H A D | SemaDecl.cpp | 1010 NamedDecl *FirstDecl = Corrected.getFoundDecl(); in ClassifyName() local 1046 if (FirstDecl) in ClassifyName() 1047 Result.addDecl(FirstDecl); in ClassifyName() 1190 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); in ClassifyName() local 1191 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) { in ClassifyName() 1197 ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(FirstDecl); in ClassifyName() 1201 dyn_cast<ObjCCompatibleAliasDecl>(FirstDecl)) in ClassifyName() 1219 if (isa<ConceptDecl>(FirstDecl)) in ClassifyName() 1221 TemplateName(cast<TemplateDecl>(FirstDecl))); in ClassifyName() 1223 if (auto *EmptyD = dyn_cast<UnresolvedUsingIfExistsDecl>(FirstDecl)) { in ClassifyName() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 2699 auto *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID)); in VisitRedeclarable() local 2700 if (FirstDecl != D) { in VisitRedeclarable() 2705 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(FirstDecl); in VisitRedeclarable() 2706 D->First = FirstDecl->getCanonicalDecl(); in VisitRedeclarable()
|
| H A D | ASTReader.cpp | 1549 const DeclID *FirstDecl = F->FileSortedDecls + Record[6]; in ReadSLocEntry() local 1552 FileDeclsInfo(F, llvm::ArrayRef(FirstDecl, NumFileDecls)); in ReadSLocEntry()
|
| /openbsd-src/gnu/llvm/clang/docs/ |
| H A D | InternalsManual.rst | 2391 list, the head is ``DeclContext::FirstDecl``) could be empty. However, member
|
| /openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
| H A D | Sema.h | 3150 FirstDecl, ///< Parsing the first decl in a TU. enumerator
|