summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-03-30 22:07:46 +0000
committerDouglas Gregor <dgregor@apple.com>2010-03-30 22:07:46 +0000
commit504662f28f93c8c65e1c15b768e2d95ca205bd03 (patch)
tree3dcfb85207f33430c2b920f2bad92d713ac60856 /clang/lib/CodeGen/CodeGenModule.cpp
parent16df1e59f2bb77de9ccdbc36262679d84f8a7d54 (diff)
downloadbcm5719-llvm-504662f28f93c8c65e1c15b768e2d95ca205bd03.tar.gz
bcm5719-llvm-504662f28f93c8c65e1c15b768e2d95ca205bd03.zip
Add a test for C++ [stmt.select]p3, which specifies that redeclaring a
name in the outermost block of a if/else that declares the same name is ill-formed. Turns out that Clang and MSVC were right about PR6739; GCC is too lax. llvm-svn: 99937
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud