Introduce Type::isIntegralOrEnumerationType(), to cover those places
in C++ that involve both integral and enumeration types. Convert all of the callers to Type::isIntegralType() that are meant to work with both integral and enumeration types over to Type::isIntegralOrEnumerationType(), to prepare to eliminate enumeration types as integral types. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106071 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/AST/CanonicalType.h 1 addition, 0 deletionsinclude/clang/AST/CanonicalType.h
- include/clang/AST/Type.h 3 additions, 0 deletionsinclude/clang/AST/Type.h
- lib/AST/ASTContext.cpp 1 addition, 1 deletionlib/AST/ASTContext.cpp
- lib/AST/Expr.cpp 5 additions, 4 deletionslib/AST/Expr.cpp
- lib/AST/ExprConstant.cpp 17 additions, 14 deletionslib/AST/ExprConstant.cpp
- lib/AST/Type.cpp 11 additions, 0 deletionslib/AST/Type.cpp
- lib/Checker/CFRefCount.cpp 1 addition, 1 deletionlib/Checker/CFRefCount.cpp
- lib/CodeGen/TargetInfo.cpp 1 addition, 1 deletionlib/CodeGen/TargetInfo.cpp
- lib/Sema/SemaCXXCast.cpp 1 addition, 1 deletionlib/Sema/SemaCXXCast.cpp
- lib/Sema/SemaDecl.cpp 3 additions, 3 deletionslib/Sema/SemaDecl.cpp
- lib/Sema/SemaDeclAttr.cpp 1 addition, 1 deletionlib/Sema/SemaDeclAttr.cpp
- lib/Sema/SemaExpr.cpp 2 additions, 1 deletionlib/Sema/SemaExpr.cpp
- lib/Sema/SemaExprCXX.cpp 1 addition, 1 deletionlib/Sema/SemaExprCXX.cpp
- lib/Sema/SemaOverload.cpp 3 additions, 3 deletionslib/Sema/SemaOverload.cpp
- lib/Sema/SemaStmt.cpp 2 additions, 2 deletionslib/Sema/SemaStmt.cpp
- lib/Sema/SemaTemplate.cpp 3 additions, 3 deletionslib/Sema/SemaTemplate.cpp
Loading
Please register or sign in to comment