summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-10-14 00:24:10 +0000
committerChris Lattner <sabre@nondot.org>2010-10-14 00:24:10 +0000
commit26f6c227dcda0e8ac7647f26c250e69202ffc255 (patch)
tree1fb356362be401ee12ee4c25049f0370b6ab323e /clang/lib/Lex
parent1f2b4bdb228fd21f2d1fd8434e7682ca7fb0839d (diff)
downloadbcm5719-llvm-26f6c227dcda0e8ac7647f26c250e69202ffc255.tar.gz
bcm5719-llvm-26f6c227dcda0e8ac7647f26c250e69202ffc255.zip
allow I128 suffixes in msextensions mode just like i128 suffixes, patch
by Martin Vejnar! llvm-svn: 116460
Diffstat (limited to 'clang/lib/Lex')
-rw-r--r--clang/lib/Lex/LiteralSupport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/LiteralSupport.cpp b/clang/lib/Lex/LiteralSupport.cpp
index 3b739b3d0b5..2eabd7edcde 100644
--- a/clang/lib/Lex/LiteralSupport.cpp
+++ b/clang/lib/Lex/LiteralSupport.cpp
@@ -431,6 +431,7 @@ NumericLiteralParser(const char *begin, const char *end,
}
continue; // Success.
case 'i':
+ case 'I':
if (PP.getLangOptions().Microsoft) {
if (isFPConstant || isLong || isLongLong) break;
@@ -467,7 +468,6 @@ NumericLiteralParser(const char *begin, const char *end,
}
}
// fall through.
- case 'I':
case 'j':
case 'J':
if (isImaginary) break; // Cannot be repeated.
OpenPOWER on IntegriCloud