]> granicus.if.org Git - clang/commit
Give Type::isIntegralType() an ASTContext parameter, so that it
authorDouglas Gregor <dgregor@apple.com>
Wed, 16 Jun 2010 00:35:25 +0000 (00:35 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 16 Jun 2010 00:35:25 +0000 (00:35 +0000)
commit9d3347a5887d2d25afe8b0bd35783a72ec86cce2
tree18f64be115c8b61183a7f31338a60a9076016344
parent2ade35e2cfd554e49d35a52047cea98a82787af9
Give Type::isIntegralType() an ASTContext parameter, so that it
provides C "integer type" semantics in C and C++ "integral type"
semantics in C++.

Note that I still need to update isIntegerType (and possibly other
predicates) using the same approach I've taken for
isIntegralType(). The two should have the same meaning, but currently
don't (!).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106074 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Type.h
lib/AST/Expr.cpp
lib/AST/Type.cpp
lib/CodeGen/CGObjCGNU.cpp
lib/CodeGen/TargetInfo.cpp
lib/Sema/SemaCXXCast.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaOverload.cpp