summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclCXX.cpp
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2011-07-26 23:20:30 +0000
committerJeffrey Yasskin <jyasskin@google.com>2011-07-26 23:20:30 +0000
commita6667816d5890ff2aa12814fd8e4b4a5807ec5b9 (patch)
tree83098cf83d7da395cd4bad1c53e0ff13e6913c00 /clang/lib/Sema/SemaDeclCXX.cpp
parent87717964933512e9db6999b84b4e59ed21c1c99e (diff)
downloadbcm5719-llvm-a6667816d5890ff2aa12814fd8e4b4a5807ec5b9.tar.gz
bcm5719-llvm-a6667816d5890ff2aa12814fd8e4b4a5807ec5b9.zip
This patch implements as much of the narrowing conversion error specified by
[dcl.init.list] as is possible without generalized initializer lists or full constant expression support, and adds a c++0x-compat warning in C++98 mode. The FixIt currently uses a typedef's basename without qualification, which is likely to be incorrect on some code. If it's incorrect on too much code, we should write a function to get the string that refers to a type from a particular context. The warning is currently off by default. I'll fix LLVM and clang before turning it on. llvm-svn: 136181
Diffstat (limited to 'clang/lib/Sema/SemaDeclCXX.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud