commit | ecac99cbb4fc1411a821718d6c254333641c1198 | [log] [tgz] |
---|---|---|
author | Reid Kleckner <rnk@google.com> | Mon May 22 21:42:58 2017 |
committer | Reid Kleckner <rnk@google.com> | Mon May 22 21:42:58 2017 |
tree | 0b500ceefacf6f6e4e21eb016f3f67b77db7d7ea | |
parent | d13b68220b0e39325f1cb21ef4ccb6543178460e [diff] |
Give files from #line the characteristics of the current file This allows #line directives to appear in system headers that have code that clang would normally warn on. This is compatible with GCC, which is easy to test by running `gcc -E`. Fixes PR30752 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@303582 91177308-0d34-0410-b5e6-96231b3b80d8