commit | 80c60f72848896f867f6b7e664e7060d9e78f019 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Thu Sep 09 22:45:38 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Thu Sep 09 22:45:38 2010 +0000 |
tree | f485a7c8e94a54a3095e9bc3be9be852db88a2ef | |
parent | 748de8eda222f087434d8bd703176b316a061341 [diff] |
When we parse a pragma, keep track of how that pragma was originally spelled (#pragma, _Pragma, __pragma). In -E mode, use that information to add appropriate newlines when translating _Pragma and __pragma into #pragma, like GCC does. Fixes <rdar://problem/8412013>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113553 91177308-0d34-0410-b5e6-96231b3b80d8