diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-04-18 22:47:04 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-04-18 22:47:04 +0000 |
commit | 97f55d6ffd548d1777d790c84b358030682f9de2 (patch) | |
tree | 90537bae813e7dfbd681ddaa14c71c7bf6291178 /include/clang/Basic/IdentifierTable.h | |
parent | b5fbb8931466eeab70a30a27a8d5f385472305a1 (diff) |
Add SelectorTable::getTotalMemory() to allow clients to query how much memory is used by selectors.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129728 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/IdentifierTable.h')
-rw-r--r-- | include/clang/Basic/IdentifierTable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Basic/IdentifierTable.h b/include/clang/Basic/IdentifierTable.h index d566fbba48..5e5097df15 100644 --- a/include/clang/Basic/IdentifierTable.h +++ b/include/clang/Basic/IdentifierTable.h @@ -624,6 +624,9 @@ public: return Selector(ID, 0); } + /// Return the total amount of memory allocated for managing selectors. + size_t getTotalMemory() const; + /// constructSetterName - Return the setter name for the given /// identifier, i.e. "set" + Name where the initial character of Name /// has been capitalized. |