Searched refs:FirstDecl (Results 1 – 9 of 9) sorted by relevance
/netbsd/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | DeclBase.cpp | 1363 ExternalLast->NextInContextAndBits.setPointer(FirstDecl); in LoadLexicalDeclsFromExternalStorage() 1364 FirstDecl = ExternalFirst; in LoadLexicalDeclsFromExternalStorage() 1404 return decl_iterator(FirstDecl); in decls_begin() 1411 return !FirstDecl; in decls_empty() 1471 if (D == FirstDecl) { in removeDecl() 1473 FirstDecl = LastDecl = nullptr; in removeDecl() 1475 FirstDecl = D->NextInContextAndBits.getPointer(); in removeDecl() 1477 for (Decl *I = FirstDecl; true; I = I->NextInContextAndBits.getPointer()) { in removeDecl() 1521 if (FirstDecl) { in addHiddenDecl() 1525 FirstDecl = LastDecl = D; in addHiddenDecl() [all …]
|
H A D | Decl.cpp | 4575 return field_iterator(decl_iterator(FirstDecl)); in field_begin() 4614 std::tie(FirstDecl, LastDecl) = BuildDeclChain(Decls, in LoadFieldsFromExternalStorage()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 9894 Decl *FirstDecl = nullptr, *SecondDecl = nullptr; in diagnoseOdrViolations() member 9919 DR.FirstDecl ? DifferenceSelector(DR.FirstDecl) : EndOfClass; in diagnoseOdrViolations() 9938 if (DR.FirstDecl) { in diagnoseOdrViolations() 9962 FirstLoc = DR.FirstDecl->getLocation(); in diagnoseOdrViolations() 9963 FirstRange = DR.FirstDecl->getSourceRange(); in diagnoseOdrViolations() 10181 ODRDiagTemplateError(FirstDecl->getLocation(), in diagnoseOdrViolations() 10192 switch (FirstDecl->getKind()) { in diagnoseOdrViolations() 10318 Decl *FirstDecl = DR.FirstDecl; in diagnoseOdrViolations() local 10849 cast<FunctionTemplateDecl>(FirstDecl); in diagnoseOdrViolations() 11167 Diag(FirstDecl->getLocation(), in diagnoseOdrViolations() [all …]
|
H A D | ASTReaderDecl.cpp | 2485 auto *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID)); in VisitRedeclarable() local 2486 if (FirstDecl != D) { in VisitRedeclarable() 2491 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(FirstDecl); in VisitRedeclarable() 2492 D->First = FirstDecl->getCanonicalDecl(); in VisitRedeclarable()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | LoopRotationUtils.cpp | 530 auto *FirstDecl = in rotateLoop() local 533 cloneAndAdaptNoAliasScopes(NoAliasDeclScopes, FirstDecl, LastInst, in rotateLoop()
|
/netbsd/external/apache2/llvm/dist/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 ||
|
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 959 NamedDecl *FirstDecl = Corrected.getFoundDecl(); in ClassifyName() local 995 if (FirstDecl) in ClassifyName() 996 Result.addDecl(FirstDecl); in ClassifyName() 1128 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); in ClassifyName() local 1129 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) { in ClassifyName() 1142 dyn_cast<ObjCCompatibleAliasDecl>(FirstDecl)) in ClassifyName() 1160 if (isa<ConceptDecl>(FirstDecl)) in ClassifyName() 1162 TemplateName(cast<TemplateDecl>(FirstDecl))); in ClassifyName() 1165 if (isa<TemplateDecl>(FirstDecl) && !isa<FunctionTemplateDecl>(FirstDecl) && in ClassifyName() 1166 !isa<VarTemplateDecl>(FirstDecl)) in ClassifyName() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/lib/Parse/ |
H A D | ParseDecl.cpp | 2085 Decl *FirstDecl = ParseDeclarationAfterDeclaratorAndAttributes( in ParseDeclGroup() local 2088 ParseLexedAttributeList(LateParsedAttrs, FirstDecl, true, false); in ParseDeclGroup() 2089 D.complete(FirstDecl); in ParseDeclGroup() 2090 if (FirstDecl) in ParseDeclGroup() 2091 DeclsInGroup.push_back(FirstDecl); in ParseDeclGroup()
|
/netbsd/external/apache2/llvm/dist/clang/docs/ |
H A D | InternalsManual.rst | 2388 list, the head is ``DeclContext::FirstDecl``) could be empty. However, member
|