| commit | c7d6576d542d5d65ea978c11c66dd7769d5753a0 | [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 | 628501461f7d99535906ad798ae657e4ccd47365 | |
| parent | e5444a88cdc2cab2d4d2ce33597d2cf5a575e2d0 [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>. llvm-svn: 113553