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
Showing
- include/clang/AST/Type.h 1 addition, 1 deletioninclude/clang/AST/Type.h
- lib/AST/Expr.cpp 5 additions, 4 deletionslib/AST/Expr.cpp
- lib/AST/Type.cpp 26 additions, 5 deletionslib/AST/Type.cpp
- lib/CodeGen/CGObjCGNU.cpp 2 additions, 2 deletionslib/CodeGen/CGObjCGNU.cpp
- lib/CodeGen/TargetInfo.cpp 1 addition, 1 deletionlib/CodeGen/TargetInfo.cpp
- lib/Sema/SemaCXXCast.cpp 5 additions, 8 deletionslib/Sema/SemaCXXCast.cpp
- lib/Sema/SemaDecl.cpp 2 additions, 2 deletionslib/Sema/SemaDecl.cpp
- lib/Sema/SemaExpr.cpp 3 additions, 3 deletionslib/Sema/SemaExpr.cpp
- lib/Sema/SemaOverload.cpp 3 additions, 4 deletionslib/Sema/SemaOverload.cpp
Loading
Please register or sign in to comment