summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/SourceManager.h
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-08-13 00:45:11 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-08-13 00:45:11 +0000
commit57785f16bb71543d20c28a90098d86efdc2d6d71 (patch)
treea9decf74f6dc03619372e4a7fe0d1bbb68a0e752 /include/clang/Basic/SourceManager.h
parent30a7ec2d1f756162b0cb56028e9e47e4a404d811 (diff)
Add SourceManager::dump() to dump the current set of SLocEntries.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244852 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/SourceManager.h')
-rw-r--r--include/clang/Basic/SourceManager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Basic/SourceManager.h b/include/clang/Basic/SourceManager.h
index 3aea5ea982..bc10cc836e 100644
--- a/include/clang/Basic/SourceManager.h
+++ b/include/clang/Basic/SourceManager.h
@@ -1463,6 +1463,8 @@ public:
///
void PrintStats() const;
+ void dump() const;
+
/// \brief Get the number of local SLocEntries we have.
unsigned local_sloc_entry_size() const { return LocalSLocEntryTable.size(); }