Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DDeclSpec.cpp506 const char *DeclSpec::getSpecifierName(TypeSpecifierWidth W) { in getSpecifierName()
508 case TypeSpecifierWidth::Unspecified: in getSpecifierName()
510 case TypeSpecifierWidth::Short: in getSpecifierName()
512 case TypeSpecifierWidth::Long: in getSpecifierName()
514 case TypeSpecifierWidth::LongLong: in getSpecifierName()
693 bool DeclSpec::SetTypeSpecWidth(TypeSpecifierWidth W, SourceLocation Loc, in SetTypeSpecWidth()
698 if (getTypeSpecWidth() == TypeSpecifierWidth::Unspecified) in SetTypeSpecWidth()
701 else if (W != TypeSpecifierWidth::LongLong || in SetTypeSpecWidth()
702 getTypeSpecWidth() != TypeSpecifierWidth::Long) in SetTypeSpecWidth()
1125 (getTypeSpecWidth() != TypeSpecifierWidth::Unspecified || in Finish()
[all …]
H A DSemaType.cpp1387 case TypeSpecifierWidth::Unspecified: in ConvertDeclSpecToType()
1390 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType()
1393 case TypeSpecifierWidth::Long: in ConvertDeclSpecToType()
1396 case TypeSpecifierWidth::LongLong: in ConvertDeclSpecToType()
1412 case TypeSpecifierWidth::Unspecified: in ConvertDeclSpecToType()
1415 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType()
1418 case TypeSpecifierWidth::Long: in ConvertDeclSpecToType()
1421 case TypeSpecifierWidth::LongLong: in ConvertDeclSpecToType()
1453 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType()
1456 case TypeSpecifierWidth::Unspecified: in ConvertDeclSpecToType()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DSpecifiers.h35 enum class TypeSpecifierWidth { Unspecified, Short, Long, LongLong }; enum
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A 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()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A 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,
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseExprCXX.cpp2182 DS.SetTypeSpecWidth(TypeSpecifierWidth::Short, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
2186 DS.SetTypeSpecWidth(TypeSpecifierWidth::Long, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
2190 DS.SetTypeSpecWidth(TypeSpecifierWidth::LongLong, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
H A DParseDecl.cpp3779 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::Short, Loc, PrevSpec, in ParseDeclarationSpecifiers()
3783 if (DS.getTypeSpecWidth() != TypeSpecifierWidth::Long) in ParseDeclarationSpecifiers()
3784 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::Long, Loc, PrevSpec, in ParseDeclarationSpecifiers()
3787 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::LongLong, Loc, in ParseDeclarationSpecifiers()
3791 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::LongLong, Loc, in ParseDeclarationSpecifiers()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReader.cpp6488 TL.setWrittenWidthSpec(static_cast<TypeSpecifierWidth>(Reader.readInt())); in VisitBuiltinTypeLoc()