Home
last modified time | relevance | path

Searched refs:getRepAsDecl (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DDeclSpec.cpp463 return cast<TagDecl>(getRepAsDecl())->isCompleteDefinition(); in hasTagDefinition()
1500 return isDeclRep(tst) && getRepAsDecl() != nullptr && in isMissingDeclaratorOk()
H A DSemaType.cpp1189 TagDecl *D = dyn_cast_or_null<TagDecl>(DS.getRepAsDecl()); in ConvertDeclSpecToType()
3091 OwnedTagDecl = cast<TagDecl>(D.getDeclSpec().getRepAsDecl()); in GetDeclSpecTypeForDeclarator()
5039 TagDecl *Tag = cast<TagDecl>(D.getDeclSpec().getRepAsDecl()); in GetFullTypeForDeclarator()
H A DSemaDecl.cpp4986 if (const auto *ED = dyn_cast<EnumDecl>(DS.getRepAsDecl())) { in GetDiagnosticTypeSpecifierID()
5011 TagD = DS.getRepAsDecl(); in ParsedFreeStandingDeclSpec()
14698 Decls.push_back(DS.getRepAsDecl()); in FinalizeDeclaratorGroup()
14756 if (TagDecl *Tag = dyn_cast_or_null<TagDecl>(DS.getRepAsDecl())) { in FinalizeDeclaratorGroup()
16682 TagDecl *tagFromDeclSpec = cast<TagDecl>(D.getDeclSpec().getRepAsDecl()); in ParseTypedefDecl()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseTemplate.cpp256 Actions.ActOnDefinedDeclarationSpecifier(DS.getRepAsDecl()); in ParseDeclarationAfterTemplate()
H A DParseDecl.cpp63 *OwnedType = DS.isTypeSpecOwned() ? DS.getRepAsDecl() : nullptr; in ParseTypeName()
2130 Actions.ActOnDefinedDeclarationSpecifier(DS.getRepAsDecl()); in ParseSimpleDeclaration()
3531 Diag(PP.getLocForEndOfToken(DS.getRepAsDecl()->getEndLoc()), in DiagnoseMissingSemiAfterTagDefinition()
4856 auto *RD = dyn_cast<RecordDecl>(DS.getRepAsDecl()); in DiagnoseCountAttributedTypeInUnnamedAnon()
H A DParser.cpp1204 Actions.ActOnDefinedDeclarationSpecifier(DS.getRepAsDecl()); in ParseDeclOrFunctionDefInternal()
H A DParseDeclCXX.cpp3050 Actions.ActOnDefinedDeclarationSpecifier(DS.getRepAsDecl()); in ParseCXXClassMemberDeclaration()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h548 Decl *getRepAsDecl() const { in getRepAsDecl() function