diff options
| author | Alexander Kornienko <alexfh@google.com> | 2013-10-11 21:43:05 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2013-10-11 21:43:05 +0000 |
| commit | b18c258390f794d8803ef5ebbb56fb77bfea7ba4 (patch) | |
| tree | 83a61aca0c4d72b506c8d8d7b4859087593dba0d /lib/CodeGen/CGExpr.cpp | |
| parent | d2dab64a438b7b8d57f8a10883e107d2bc0988ed (diff) | |
| download | clang-b18c258390f794d8803ef5ebbb56fb77bfea7ba4.tar.gz clang-b18c258390f794d8803ef5ebbb56fb77bfea7ba4.tar.bz2 clang-b18c258390f794d8803ef5ebbb56fb77bfea7ba4.tar.xz | |
Don't break string literals inside preprocessor directives.
Summary:
This way we avoid breaking code which uses unknown preprocessor
directives with long string literals. The specific use case in
http://llvm.org/PR17035 isn't very common, but it seems to be a good idea to
avoid this kind of problem anyway.
Reviewers: djasper
Reviewed By: djasper
CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D1813
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192507 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
