Home
last modified time | relevance | path

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

/netbsd/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclBase.cpp1363 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 DDecl.cpp4575 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 DASTReader.cpp9894 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 DASTReaderDecl.cpp2485 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 DLoopRotationUtils.cpp530 auto *FirstDecl = in rotateLoop() local
533 cloneAndAdaptNoAliasScopes(NoAliasDeclScopes, FirstDecl, LastInst, in rotateLoop()
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclBase.h1834 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 DSemaDecl.cpp959 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 DParseDecl.cpp2085 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 DInternalsManual.rst2388 list, the head is ``DeclContext::FirstDecl``) could be empty. However, member