summaryrefslogtreecommitdiff
path: root/unittests/ADT/SmallStringTest.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
commit873c5898895cd12713e4be6dc2f115418ac4c83e (patch)
treea3e0b34ce17d07d924318c8a235d21fe62039f49 /unittests/ADT/SmallStringTest.cpp
parent9c3328fc7f7769b0118beede6aaf064ba4ba582c (diff)
downloadllvm-873c5898895cd12713e4be6dc2f115418ac4c83e.tar.gz
llvm-873c5898895cd12713e4be6dc2f115418ac4c83e.tar.bz2
llvm-873c5898895cd12713e4be6dc2f115418ac4c83e.tar.xz
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203371 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ADT/SmallStringTest.cpp')
0 files changed, 0 insertions, 0 deletions