Home
last modified time | relevance | path

Searched refs:TypeSpecType (Results 1 – 3 of 3) sorted by relevance

/src/contrib/llvm-project/clang/lib/Sema/
H A DDeclSpec.cpp679 if (TypeSpecType == TST_unspecified && S.getLangOpts().CPlusPlus) { in SetStorageClassSpec()
770 if (TypeSpecType == TST_error) in SetTypeSpecType()
772 if (TypeSpecType != TST_unspecified) { in SetTypeSpecType()
773 PrevSpec = DeclSpec::getSpecifierName((TST) TypeSpecType, Policy); in SetTypeSpecType()
777 TypeSpecType = T; in SetTypeSpecType()
801 if (TypeSpecType == TST_error) in SetTypeSpecType()
803 if (TypeSpecType != TST_unspecified) { in SetTypeSpecType()
804 PrevSpec = DeclSpec::getSpecifierName((TST) TypeSpecType, Policy); in SetTypeSpecType()
808 TypeSpecType = T; in SetTypeSpecType()
833 if (TypeSpecType == TST_error) in SetTypeSpecType()
[all …]
H A DSemaDecl.cpp5226 DeclSpec::TST TypeSpecType = DS.getTypeSpecType(); in ParsedFreeStandingDeclSpec() local
5227 if (TypeSpecType == DeclSpec::TST_class || in ParsedFreeStandingDeclSpec()
5228 TypeSpecType == DeclSpec::TST_struct || in ParsedFreeStandingDeclSpec()
5229 TypeSpecType == DeclSpec::TST_interface || in ParsedFreeStandingDeclSpec()
5230 TypeSpecType == DeclSpec::TST_union || in ParsedFreeStandingDeclSpec()
5231 TypeSpecType == DeclSpec::TST_enum) { in ParsedFreeStandingDeclSpec()
/src/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h369 unsigned TypeSpecType : 7;
487 TypeSpecType(TST_unspecified), TypeAltiVecVector(false), in DeclSpec()
521 TypeSpecType = DeclSpec::TST_unspecified; in ClearTypeSpecType()
534 TST getTypeSpecType() const { return (TST)TypeSpecType; } in getTypeSpecType()
539 bool isTypeRep() const { return isTypeRep((TST) TypeSpecType); } in isTypeRep()
545 assert(isTypeRep((TST) TypeSpecType) && "DeclSpec does not store a type"); in getRepAsType()
549 assert(isDeclRep((TST) TypeSpecType) && "DeclSpec does not store a decl"); in getRepAsDecl()
553 assert(isExprRep((TST) TypeSpecType) && "DeclSpec does not store an expr"); in getRepAsExpr()
558 assert(TypeSpecType == TST_typename_pack_indexing && in getPackIndexingExpr()
564 assert(isTemplateIdRep((TST) TypeSpecType) && in getRepAsTemplateId()
[all …]