]> granicus.if.org Git - clang/commit
Introduce Type::isIntegralOrEnumerationType(), to cover those places
authorDouglas Gregor <dgregor@apple.com>
Wed, 16 Jun 2010 00:17:44 +0000 (00:17 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 16 Jun 2010 00:17:44 +0000 (00:17 +0000)
commit2ade35e2cfd554e49d35a52047cea98a82787af9
treeb3d261cde2d8f15007d53bd5f103ab6d1b75a595
parentff2d05f653948e4bb2877c210f9fa7a2888ceb5c
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
16 files changed:
include/clang/AST/CanonicalType.h
include/clang/AST/Type.h
lib/AST/ASTContext.cpp
lib/AST/Expr.cpp
lib/AST/ExprConstant.cpp
lib/AST/Type.cpp
lib/Checker/CFRefCount.cpp
lib/CodeGen/TargetInfo.cpp
lib/Sema/SemaCXXCast.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/SemaStmt.cpp
lib/Sema/SemaTemplate.cpp