Home
last modified time | relevance | path

Searched refs:TypeSpecifierWidth (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/clang/lib/Sema/
DDeclSpec.cpp505 const char *DeclSpec::getSpecifierName(TypeSpecifierWidth W) { in getSpecifierName()
507 case TypeSpecifierWidth::Unspecified: in getSpecifierName()
509 case TypeSpecifierWidth::Short: in getSpecifierName()
511 case TypeSpecifierWidth::Long: in getSpecifierName()
513 case TypeSpecifierWidth::LongLong: in getSpecifierName()
691 bool DeclSpec::SetTypeSpecWidth(TypeSpecifierWidth W, SourceLocation Loc, in SetTypeSpecWidth()
696 if (getTypeSpecWidth() == TypeSpecifierWidth::Unspecified) in SetTypeSpecWidth()
699 else if (W != TypeSpecifierWidth::LongLong || in SetTypeSpecWidth()
700 getTypeSpecWidth() != TypeSpecifierWidth::Long) in SetTypeSpecWidth()
1123 (getTypeSpecWidth() != TypeSpecifierWidth::Unspecified || in Finish()
[all …]
DSemaType.cpp1407 case TypeSpecifierWidth::Unspecified: in ConvertDeclSpecToType()
1410 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType()
1413 case TypeSpecifierWidth::Long: in ConvertDeclSpecToType()
1416 case TypeSpecifierWidth::LongLong: in ConvertDeclSpecToType()
1432 case TypeSpecifierWidth::Unspecified: in ConvertDeclSpecToType()
1435 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType()
1438 case TypeSpecifierWidth::Long: in ConvertDeclSpecToType()
1441 case TypeSpecifierWidth::LongLong: in ConvertDeclSpecToType()
1473 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType()
1476 case TypeSpecifierWidth::Unspecified: in ConvertDeclSpecToType()
[all …]
/external/clang/include/clang/Basic/
DSpecifiers.h25 enum TypeSpecifierWidth { enum
/external/llvm-project/clang/include/clang/Basic/
DSpecifiers.h35 enum class TypeSpecifierWidth { Unspecified, Short, Long, LongLong }; enum
/external/llvm-project/clang/include/clang/AST/
DTypeLoc.h618 TypeSpecifierWidth getWrittenWidthSpec() const { in getWrittenWidthSpec()
620 return static_cast<TypeSpecifierWidth>(getWrittenBuiltinSpecs().Width); in getWrittenWidthSpec()
622 return TypeSpecifierWidth::Unspecified; in getWrittenWidthSpec()
626 return getWrittenWidthSpec() != TypeSpecifierWidth::Unspecified; in hasWrittenWidthSpec()
629 void setWrittenWidthSpec(TypeSpecifierWidth written) { in setWrittenWidthSpec()
662 wbs.Width = static_cast<unsigned>(TypeSpecifierWidth::Unspecified); in initializeLocal()
/external/llvm-project/clang/include/clang/Sema/
DDeclSpec.h425 TypeSpecWidth(static_cast<unsigned>(TypeSpecifierWidth::Unspecified)), in DeclSpec()
469 TypeSpecifierWidth getTypeSpecWidth() const { in getTypeSpecWidth()
470 return static_cast<TypeSpecifierWidth>(TypeSpecWidth); in getTypeSpecWidth()
539 static const char *getSpecifierName(TypeSpecifierWidth W);
623 getTypeSpecWidth() != TypeSpecifierWidth::Unspecified || in hasTypeSpecifier()
656 bool SetTypeSpecWidth(TypeSpecifierWidth W, SourceLocation Loc,
/external/clang/include/clang/AST/
DTypeLoc.h572 TypeSpecifierWidth getWrittenWidthSpec() const { in getWrittenWidthSpec()
574 return static_cast<TypeSpecifierWidth>(getWrittenBuiltinSpecs().Width); in getWrittenWidthSpec()
581 void setWrittenWidthSpec(TypeSpecifierWidth written) { in setWrittenWidthSpec()
/external/llvm-project/clang/lib/Parse/
DParseExprCXX.cpp2197 DS.SetTypeSpecWidth(TypeSpecifierWidth::Short, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
2201 DS.SetTypeSpecWidth(TypeSpecifierWidth::Long, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
2205 DS.SetTypeSpecWidth(TypeSpecifierWidth::LongLong, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
DParseDecl.cpp3719 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::Short, Loc, PrevSpec, in ParseDeclarationSpecifiers()
3723 if (DS.getTypeSpecWidth() != TypeSpecifierWidth::Long) in ParseDeclarationSpecifiers()
3724 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::Long, Loc, PrevSpec, in ParseDeclarationSpecifiers()
3727 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::LongLong, Loc, in ParseDeclarationSpecifiers()
3731 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::LongLong, Loc, in ParseDeclarationSpecifiers()
/external/llvm-project/clang/lib/Serialization/
DASTReader.cpp6461 TL.setWrittenWidthSpec(static_cast<TypeSpecifierWidth>(Reader.readInt())); in VisitBuiltinTypeLoc()