projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't use PassInfo* as a type identifier for passes. Instead, use the address of...
[oota-llvm.git]
/
lib
/
Analysis
/
Lint.cpp
diff --git
a/lib/Analysis/Lint.cpp
b/lib/Analysis/Lint.cpp
index fe01fd7b222987863265643a177e131cc8026f9a..a9d972435f5fb8bbcea035b8d3d586f3283127fa 100644
(file)
--- a/
lib/Analysis/Lint.cpp
+++ b/
lib/Analysis/Lint.cpp
@@
-108,7
+108,7
@@
namespace {
raw_string_ostream MessagesStr;
static char ID; // Pass identification, replacement for typeid
- Lint() : FunctionPass(
&
ID), MessagesStr(Messages) {}
+ Lint() : FunctionPass(ID), MessagesStr(Messages) {}
virtual bool runOnFunction(Function &F);