summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/SourceManagerInternals.h
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-05-22 21:42:58 +0000
committerReid Kleckner <rnk@google.com>2017-05-22 21:42:58 +0000
commitecac99cbb4fc1411a821718d6c254333641c1198 (patch)
tree0b500ceefacf6f6e4e21eb016f3f67b77db7d7ea /include/clang/Basic/SourceManagerInternals.h
parentd13b68220b0e39325f1cb21ef4ccb6543178460e (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
Diffstat (limited to 'include/clang/Basic/SourceManagerInternals.h')
-rw-r--r--include/clang/Basic/SourceManagerInternals.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/clang/Basic/SourceManagerInternals.h b/include/clang/Basic/SourceManagerInternals.h
index e65c97b003..9403dea888 100644
--- a/include/clang/Basic/SourceManagerInternals.h
+++ b/include/clang/Basic/SourceManagerInternals.h
@@ -102,8 +102,6 @@ public:
unsigned getNumFilenames() const { return FilenamesByID.size(); }
void AddLineNote(FileID FID, unsigned Offset,
- unsigned LineNo, int FilenameID);
- void AddLineNote(FileID FID, unsigned Offset,
unsigned LineNo, int FilenameID,
unsigned EntryExit, SrcMgr::CharacteristicKind FileKind);