commit | 88710f22be1acb04b7d812aebe87bea56394c07c | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Wed Aug 03 00:04:13 2011 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Wed Aug 03 00:04:13 2011 +0000 |
tree | 647f722b97d3c9f51785c7d7d33d1ce4392d928c | |
parent | e164c180527354acc16c1b9b2c5a5ed4a1e484d4 [diff] |
A couple fixes for preprocessor expressions: 1. Be more tolerant of comments in -CC (comment-preserving) mode. We were missing a few cases. 2. Make sure to expand the second FOO in "#if defined FOO FOO". (See also r97253, which addressed the case of "#if defined(FOO FOO".) Fixes PR10286. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136748 91177308-0d34-0410-b5e6-96231b3b80d8