diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-08-13 00:45:11 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-08-13 00:45:11 +0000 |
commit | 57785f16bb71543d20c28a90098d86efdc2d6d71 (patch) | |
tree | a9decf74f6dc03619372e4a7fe0d1bbb68a0e752 /include/clang/Basic/SourceManager.h | |
parent | 30a7ec2d1f756162b0cb56028e9e47e4a404d811 (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.h | 2 |
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(); } |