]> granicus.if.org Git - clang/commit
PR17359: Fix off-by-one OOB on _Pragma("") and an unescaping bug
authorReid Kleckner <reid@kleckner.net>
Wed, 25 Sep 2013 16:42:48 +0000 (16:42 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 25 Sep 2013 16:42:48 +0000 (16:42 +0000)
commit48b80c78b02efd7c4a7e3a7530d05b8aa9d3b649
treea7175fd5224d07b748ba2d8767a79de9998aa137
parent81557223ba8d7ef8b0468a6e1dc8fc79f2de46f2
PR17359: Fix off-by-one OOB on _Pragma("") and an unescaping bug

Previously the code would reduce a run of backslashes to a single
backslash, and now it will properly leave behind every other backslash.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191382 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/Pragma.cpp
test/Preprocessor/_Pragma.c