]> granicus.if.org Git - clang/commit
Rename isPODType (using the C++98 rules) into isCXX98PODType and make isPODType decid...
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 28 Apr 2012 10:00:42 +0000 (10:00 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 28 Apr 2012 10:00:42 +0000 (10:00 +0000)
commit152f6b7be508fbc61543f3736ebd390d7ac84bd1
tree604bc10dce5d80f61b8b86aafc2eaf45ed30a5db
parent470360d8035ce4213a963d281c3b542edfea9fda
Rename isPODType (using the C++98 rules) into isCXX98PODType and make isPODType decide which one to use based on LangOptions.

- -Wc++98-compat depends on the c++98 definition
- Now __is_pod returns the right thing in c++11 and c++98 mode
- All changes to the type traits test are validated against g++ 4.7

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155756 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Type.h
lib/AST/Type.cpp
lib/Sema/SemaExpr.cpp
test/SemaCXX/type-traits.cpp