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:
a4b06f7
)
Properly initialize the pImpl member of PassRegistry to zero.
author
Owen Anderson
<resistor@mac.com>
Tue, 7 Sep 2010 20:13:48 +0000
(20:13 +0000)
committer
Owen Anderson
<resistor@mac.com>
Tue, 7 Sep 2010 20:13:48 +0000
(20:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113264
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/PassRegistry.h
patch
|
blob
|
history
diff --git
a/include/llvm/PassRegistry.h
b/include/llvm/PassRegistry.h
index 1fb11ed64c1821a68e2cb387906bfec0f75f27ce..809dba0bc0dc79be5c2b84d2055e2d1d3e0d6b59 100644
(file)
--- a/
include/llvm/PassRegistry.h
+++ b/
include/llvm/PassRegistry.h
@@
-36,6
+36,8
@@
class PassRegistry {
void *getImpl() const;
public:
+ PassRegistry() : pImpl(0) { }
+
/// getPassRegistry - Access the global registry object, which is
/// automatically initialized at application launch and destroyed by
/// llvm_shutdown.