diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-11-17 02:05:44 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-11-17 02:05:44 +0000 |
commit | 09fe1bb696847e6f1b482e5ac40029d53a2402df (patch) | |
tree | 5117f619d4f63468deab2af2914cede61c741d40 /include/clang/Lex/ModuleMap.h | |
parent | 35f9ae6dd221bd403299a895e97aaaf63507287a (diff) |
Actually free memory for the module maps
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144880 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/ModuleMap.h')
-rw-r--r-- | include/clang/Lex/ModuleMap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/clang/Lex/ModuleMap.h b/include/clang/Lex/ModuleMap.h index e9bf1b35c1..b1eaebddb2 100644 --- a/include/clang/Lex/ModuleMap.h +++ b/include/clang/Lex/ModuleMap.h @@ -73,7 +73,9 @@ public: : Name(Name), DefinitionLoc(DefinitionLoc), Parent(Parent), UmbrellaHeader(0), IsExplicit(IsExplicit) { } - + + ~Module(); + /// \brief Determine whether this module is a submodule. bool isSubModule() const { return Parent != 0; } |