Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DDeclSpec.cpp528 if (TypeSpecType == TST_unspecified && S.getLangOpts().CPlusPlus) { in SetStorageClassSpec()
618 if (TypeSpecType != TST_unspecified) { in SetTypeSpecType()
619 PrevSpec = DeclSpec::getSpecifierName((TST) TypeSpecType, Policy); in SetTypeSpecType()
623 TypeSpecType = T; in SetTypeSpecType()
638 if (TypeSpecType != TST_unspecified) { in SetTypeSpecType()
639 PrevSpec = DeclSpec::getSpecifierName((TST) TypeSpecType, Policy); in SetTypeSpecType()
643 TypeSpecType = T; in SetTypeSpecType()
668 if (TypeSpecType != TST_unspecified) { in SetTypeSpecType()
669 PrevSpec = DeclSpec::getSpecifierName((TST) TypeSpecType, Policy); in SetTypeSpecType()
673 TypeSpecType = T; in SetTypeSpecType()
[all …]
DSemaDecl.cpp3936 DeclSpec::TST TypeSpecType = DS.getTypeSpecType(); in ParsedFreeStandingDeclSpec() local
3937 if (TypeSpecType == DeclSpec::TST_class || in ParsedFreeStandingDeclSpec()
3938 TypeSpecType == DeclSpec::TST_struct || in ParsedFreeStandingDeclSpec()
3939 TypeSpecType == DeclSpec::TST_interface || in ParsedFreeStandingDeclSpec()
3940 TypeSpecType == DeclSpec::TST_union || in ParsedFreeStandingDeclSpec()
3941 TypeSpecType == DeclSpec::TST_enum) { in ParsedFreeStandingDeclSpec()
3945 << attrs->getName() << GetDiagnosticTypeSpecifierID(TypeSpecType); in ParsedFreeStandingDeclSpec()
/external/clang/include/clang/Sema/
DDeclSpec.h335 /*TST*/unsigned TypeSpecType : 6; variable
418 TypeSpecType(TST_unspecified), in DeclSpec()
461 TypeSpecType = DeclSpec::TST_unspecified; in ClearTypeSpecType()
470 TST getTypeSpecType() const { return (TST)TypeSpecType; } in getTypeSpecType()
475 bool isTypeRep() const { return isTypeRep((TST) TypeSpecType); } in isTypeRep()
478 assert(isTypeRep((TST) TypeSpecType) && "DeclSpec does not store a type"); in getRepAsType()
482 assert(isDeclRep((TST) TypeSpecType) && "DeclSpec does not store a decl"); in getRepAsDecl()
486 assert(isExprRep((TST) TypeSpecType) && "DeclSpec does not store an expr"); in getRepAsExpr()
503 assert(isDeclRep((TST) TypeSpecType) || TypeSpecType == TST_typename); in getTypeSpecTypeNameLoc()
511 return (TypeSpecType == TST_auto || TypeSpecType == TST_auto_type || in containsPlaceholderType()
[all …]