projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85a168a
)
Add a simple clear() method
author
Chris Lattner
<sabre@nondot.org>
Wed, 30 Nov 2005 19:31:23 +0000
(19:31 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 30 Nov 2005 19:31:23 +0000
(19:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24543
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Analysis/AliasSetTracker.h
patch
|
blob
|
history
diff --git
a/include/llvm/Analysis/AliasSetTracker.h
b/include/llvm/Analysis/AliasSetTracker.h
index 2f693d41f8cc3486419a9c243e223b82c73f639a..e7d1cb3d2ec5e0cadad3b098e77ac31563bd713f 100644
(file)
--- a/
include/llvm/Analysis/AliasSetTracker.h
+++ b/
include/llvm/Analysis/AliasSetTracker.h
@@
-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.
///