aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAhmed Charles <ahmedcharles@gmail.com>2014-03-09 04:57:09 +0000
committerAhmed Charles <ahmedcharles@gmail.com>2014-03-09 04:57:09 +0000
commit821b66669cc7ccd53221b1e4e7ad4dde861927d7 (patch)
tree7604625ddb71869842fb5dcd04128f28801f24da /clang/lib/Frontend/CompilerInvocation.cpp
parentb255ee91a7aae47cf7d6199b447efd6da75f1c76 (diff)
downloadllvm-821b66669cc7ccd53221b1e4e7ad4dde861927d7.zip
llvm-821b66669cc7ccd53221b1e4e7ad4dde861927d7.tar.gz
llvm-821b66669cc7ccd53221b1e4e7ad4dde861927d7.tar.bz2
[C++11] Fix break due to MSVC bug.
MSVC (2012, 2013, 2013 Nov CTP) fail on the following code: int main() { int arr[] = {1, 2}; for (int i : arr) do {} while (0); } The fix is to put {} around the for loop. I've reported this to the MSVC team. llvm-svn: 203371
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions