Reapply r110396, with fixes to appease the Linux buildbot gods.
[oota-llvm.git] / lib / Analysis / Lint.cpp
index fe01fd7b222987863265643a177e131cc8026f9a..a9d972435f5fb8bbcea035b8d3d586f3283127fa 100644 (file)
@@ -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);