Searched refs:FirstDecl (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | DeclBase.cpp | 1301 ExternalLast->NextInContextAndBits.setPointer(FirstDecl); in LoadLexicalDeclsFromExternalStorage() 1302 FirstDecl = ExternalFirst; in LoadLexicalDeclsFromExternalStorage() 1374 return decl_iterator(FirstDecl); in decls_begin() 1381 return !FirstDecl; in decls_empty() 1434 if (D == FirstDecl) { in removeDecl() 1436 FirstDecl = LastDecl = nullptr; in removeDecl() 1438 FirstDecl = D->NextInContextAndBits.getPointer(); in removeDecl() 1440 for (Decl *I = FirstDecl; true; I = I->NextInContextAndBits.getPointer()) { in removeDecl() 1487 if (FirstDecl) { in addHiddenDecl() 1491 FirstDecl = LastDecl = D; in addHiddenDecl() [all …]
|
| H A D | Decl.cpp | 4149 return field_iterator(decl_iterator(FirstDecl)); in field_begin() 4188 std::tie(FirstDecl, LastDecl) = BuildDeclChain(Decls, in LoadFieldsFromExternalStorage()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 9828 ODRDiagError(FirstDecl->getLocation(), FirstDecl->getSourceRange(), in diagnoseOdrViolations() 9837 switch (FirstDecl->getKind()) { in diagnoseOdrViolations() 9865 ODRDiagError(FirstDecl->getLocation(), FirstDecl->getSourceRange(), in diagnoseOdrViolations() 9897 ODRDiagError(FirstDecl->getLocation(), FirstDecl->getSourceRange(), in diagnoseOdrViolations() 9930 ODRDiagError(FirstDecl->getLocation(), FirstDecl->getSourceRange(), in diagnoseOdrViolations() 10022 Decl *FirstDecl = nullptr; in diagnoseOdrViolations() local 10041 FirstDiffType = FirstDecl ? DifferenceSelector(FirstDecl) : EndOfClass; in diagnoseOdrViolations() 10056 if (FirstDecl) { in diagnoseOdrViolations() 10852 cast<FunctionTemplateDecl>(FirstDecl); in diagnoseOdrViolations() 11154 Diag(FirstDecl->getLocation(), in diagnoseOdrViolations() [all …]
|
| H A D | ASTReaderDecl.cpp | 2450 auto *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID)); in VisitRedeclarable() local 2451 if (FirstDecl != D) { in VisitRedeclarable() 2456 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(FirstDecl); in VisitRedeclarable() 2457 D->First = FirstDecl->getCanonicalDecl(); in VisitRedeclarable()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | DeclBase.h | 1726 mutable Decl *FirstDecl = nullptr; variable 2008 decl_iterator noload_decls_begin() const { return decl_iterator(FirstDecl); } in noload_decls_begin() 2339 return D && (D->NextInContextAndBits.getPointer() || D == FirstDecl || in isDeclInLexicalTraversal()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParseDecl.cpp | 2040 Decl *FirstDecl = ParseDeclarationAfterDeclaratorAndAttributes( in ParseDeclGroup() local 2043 ParseLexedAttributeList(LateParsedAttrs, FirstDecl, true, false); in ParseDeclGroup() 2044 D.complete(FirstDecl); in ParseDeclGroup() 2045 if (FirstDecl) in ParseDeclGroup() 2046 DeclsInGroup.push_back(FirstDecl); in ParseDeclGroup()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 937 NamedDecl *FirstDecl = Corrected.getFoundDecl(); in ClassifyName() local 973 if (FirstDecl) in ClassifyName() 974 Result.addDecl(FirstDecl); in ClassifyName() 1091 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); in ClassifyName() local 1092 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) { in ClassifyName() 1101 ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(FirstDecl); in ClassifyName() 1105 dyn_cast<ObjCCompatibleAliasDecl>(FirstDecl)) in ClassifyName() 1124 if (isa<TemplateDecl>(FirstDecl) && !isa<FunctionTemplateDecl>(FirstDecl) && in ClassifyName() 1125 !isa<VarTemplateDecl>(FirstDecl)) in ClassifyName() 1127 TemplateName(cast<TemplateDecl>(FirstDecl))); in ClassifyName() [all …]
|