summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2013-10-21 05:02:28 +0000
committerJustin Bogner <mail@justinbogner.com>2013-10-21 05:02:28 +0000
commitfbfd6426e256f8be081260609d8fa88ae94ffe14 (patch)
tree95ac57feea37d4a6ec60af51a3995260ce4e7590 /lib/CodeGen/CGExpr.cpp
parentb3b5e6cb65814f0ea9f2989d7f68f67877637b65 (diff)
downloadclang-fbfd6426e256f8be081260609d8fa88ae94ffe14.tar.gz
clang-fbfd6426e256f8be081260609d8fa88ae94ffe14.tar.bz2
clang-fbfd6426e256f8be081260609d8fa88ae94ffe14.tar.xz
Lex: Don't restrict legal UCNs when preprocessing assembly
The C and C++ standards disallow using universal character names to refer to some characters, such as basic ascii and control characters, so we reject these sequences in the lexer. However, when the preprocessor isn't being used on C or C++, it doesn't make sense to apply these restrictions. Notably, accepting these characters avoids issues with unicode escapes when GHC uses the compiler as a preprocessor on haskell sources. Fixes rdar://problem/14742289 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions