Add a simple clear() method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24543 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-11-30 19:31:23 +00:00
parent 85a168a734
commit 8bdbb63243

View File

@ -290,6 +290,11 @@ public:
bool remove(InvokeInst *II) { return remove(CallSite(II)); }
bool remove(Instruction *I);
void remove(AliasSet &AS);
void clear() {
PointerMap.clear();
AliasSets.clear();
}
/// getAliasSets - Return the alias sets that are active.
///