Searched refs:TypeSpecifierSign (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | DeclSpec.cpp | 547 const char *DeclSpec::getSpecifierName(TypeSpecifierSign S) { in getSpecifierName() 549 case TypeSpecifierSign::Unspecified: in getSpecifierName() 551 case TypeSpecifierSign::Signed: in getSpecifierName() 553 case TypeSpecifierSign::Unsigned: in getSpecifierName() 745 bool DeclSpec::SetTypeSpecSign(TypeSpecifierSign S, SourceLocation Loc, in SetTypeSpecSign() 747 if (getTypeSpecSign() != TypeSpecifierSign::Unspecified) in SetTypeSpecSign() 1164 getTypeSpecSign() != TypeSpecifierSign::Unspecified || in Finish() 1185 TypeSpecSign = static_cast<unsigned>(TypeSpecifierSign::Unspecified); in Finish() 1211 if (getTypeSpecSign() != TypeSpecifierSign::Unspecified) { in Finish() 1241 TypeSpecSign = static_cast<unsigned>(TypeSpecifierSign::Unsigned); in Finish() [all …]
|
H A D | SemaType.cpp | 903 if (DS.getTypeSpecSign() == TypeSpecifierSign::Unspecified) in ConvertDeclSpecToType() 905 else if (DS.getTypeSpecSign() == TypeSpecifierSign::Signed) in ConvertDeclSpecToType() 908 assert(DS.getTypeSpecSign() == TypeSpecifierSign::Unsigned && in ConvertDeclSpecToType() 914 if (DS.getTypeSpecSign() == TypeSpecifierSign::Unspecified) in ConvertDeclSpecToType() 916 else if (DS.getTypeSpecSign() == TypeSpecifierSign::Signed) { in ConvertDeclSpecToType() 922 assert(DS.getTypeSpecSign() == TypeSpecifierSign::Unsigned && in ConvertDeclSpecToType() 931 assert(DS.getTypeSpecSign() == TypeSpecifierSign::Unspecified && in ConvertDeclSpecToType() 936 assert(DS.getTypeSpecSign() == TypeSpecifierSign::Unspecified && in ConvertDeclSpecToType() 941 assert(DS.getTypeSpecSign() == TypeSpecifierSign::Unspecified && in ConvertDeclSpecToType() 1002 if (DS.getTypeSpecSign() != TypeSpecifierSign::Unsigned) { in ConvertDeclSpecToType() [all …]
|
H A D | SemaCodeComplete.cpp | 4563 DS.getTypeSpecSign() == TypeSpecifierSign::Unspecified && in CodeCompleteDeclSpec()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | Specifiers.h | 50 enum class TypeSpecifierSign { Unspecified, Signed, Unsigned }; enum 110 LLVM_PREFERRED_TYPE(TypeSpecifierSign)
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | DeclSpec.h | 366 LLVM_PREFERRED_TYPE(TypeSpecifierSign) 486 TypeSpecSign(static_cast<unsigned>(TypeSpecifierSign::Unspecified)), in DeclSpec() 531 TypeSpecifierSign getTypeSpecSign() const { in getTypeSpecSign() 532 return static_cast<TypeSpecifierSign>(TypeSpecSign); in getTypeSpecSign() 603 static const char *getSpecifierName(TypeSpecifierSign S); 692 getTypeSpecSign() != TypeSpecifierSign::Unspecified; in hasTypeSpecifier() 728 bool SetTypeSpecSign(TypeSpecifierSign S, SourceLocation Loc,
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | TypeLoc.h | 613 TypeSpecifierSign getWrittenSignSpec() const { in getWrittenSignSpec() 615 return static_cast<TypeSpecifierSign>(getWrittenBuiltinSpecs().Sign); in getWrittenSignSpec() 617 return TypeSpecifierSign::Unspecified; in getWrittenSignSpec() 621 return getWrittenSignSpec() != TypeSpecifierSign::Unspecified; in hasWrittenSignSpec() 624 void setWrittenSignSpec(TypeSpecifierSign written) { in setWrittenSignSpec() 672 wbs.Sign = static_cast<unsigned>(TypeSpecifierSign::Unspecified); in initializeLocal()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseExprCXX.cpp | 2388 DS.SetTypeSpecSign(TypeSpecifierSign::Signed, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 2391 DS.SetTypeSpecSign(TypeSpecifierSign::Unsigned, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier()
|
H A D | ParseDecl.cpp | 4472 DS.SetTypeSpecSign(TypeSpecifierSign::Signed, Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers() 4475 isInvalid = DS.SetTypeSpecSign(TypeSpecifierSign::Unsigned, Loc, PrevSpec, in ParseDeclarationSpecifiers()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 6791 TL.setWrittenSignSpec(static_cast<TypeSpecifierSign>(Reader.readInt())); in VisitBuiltinTypeLoc()
|