Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DDeclSpec.cpp538 if (TypeSpecType == TST_unspecified && S.getLangOpts().CPlusPlus) { in SetStorageClassSpec()
628 if (TypeSpecType != TST_unspecified) { in SetTypeSpecType()
629 PrevSpec = DeclSpec::getSpecifierName((TST) TypeSpecType, Policy); in SetTypeSpecType()
633 TypeSpecType = T; in SetTypeSpecType()
648 if (TypeSpecType != TST_unspecified) { in SetTypeSpecType()
649 PrevSpec = DeclSpec::getSpecifierName((TST) TypeSpecType, Policy); in SetTypeSpecType()
653 TypeSpecType = T; in SetTypeSpecType()
678 if (TypeSpecType != TST_unspecified) { in SetTypeSpecType()
679 PrevSpec = DeclSpec::getSpecifierName((TST) TypeSpecType, Policy); in SetTypeSpecType()
683 TypeSpecType = T; in SetTypeSpecType()
[all …]
DSemaDecl.cpp4068 DeclSpec::TST TypeSpecType = DS.getTypeSpecType(); in ParsedFreeStandingDeclSpec() local
4069 if (TypeSpecType == DeclSpec::TST_class || in ParsedFreeStandingDeclSpec()
4070 TypeSpecType == DeclSpec::TST_struct || in ParsedFreeStandingDeclSpec()
4071 TypeSpecType == DeclSpec::TST_interface || in ParsedFreeStandingDeclSpec()
4072 TypeSpecType == DeclSpec::TST_union || in ParsedFreeStandingDeclSpec()
4073 TypeSpecType == DeclSpec::TST_enum) { in ParsedFreeStandingDeclSpec()
4077 << attrs->getName() << GetDiagnosticTypeSpecifierID(TypeSpecType); in ParsedFreeStandingDeclSpec()
/external/clang/include/clang/Sema/
DDeclSpec.h340 /*TST*/unsigned TypeSpecType : 6; variable
426 TypeSpecType(TST_unspecified), in DeclSpec()
470 TypeSpecType = DeclSpec::TST_unspecified; in ClearTypeSpecType()
479 TST getTypeSpecType() const { return (TST)TypeSpecType; } in getTypeSpecType()
484 bool isTypeRep() const { return isTypeRep((TST) TypeSpecType); } in isTypeRep()
488 assert(isTypeRep((TST) TypeSpecType) && "DeclSpec does not store a type"); in getRepAsType()
492 assert(isDeclRep((TST) TypeSpecType) && "DeclSpec does not store a decl"); in getRepAsDecl()
496 assert(isExprRep((TST) TypeSpecType) && "DeclSpec does not store an expr"); in getRepAsExpr()
513 assert(isDeclRep((TST) TypeSpecType) || TypeSpecType == TST_typename); in getTypeSpecTypeNameLoc()
521 return (TypeSpecType == TST_auto || TypeSpecType == TST_auto_type || in containsPlaceholderType()
[all …]