<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 1, 2009, at 7:20 AM, Dan Gohman wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Author: djg<br>Date: Sun Nov  1 09:20:19 2009<br>New Revision: 85714<br><br>URL: <a href="http://llvm.org/viewvc/llvm-project?rev=85714&view=rev">http://llvm.org/viewvc/llvm-project?rev=85714&view=rev</a><br>Log:<br>Remove the #include of Pass.h from PassManager.h. This breaks a significant<br>#include dependency, as frontends commonly pull in PassManager.h.<br></div></blockquote><div><br></div><div>This change causes the build to fail everywhere, with errors such as:</div><div><br></div><div><span class="Apple-style-span" style="font-family: Times; "><pre><span class="stdout" style="font-family: 'Courier New', courier, monotype; ">Scalar.cpp: In function 'void LLVMAddAggressiveDCEPass(LLVMOpaquePassManager*)':
Scalar.cpp:22: error: no matching function for call to 'llvm::PassManagerBase::add(llvm::FunctionPass*)'
/Users/buildslave/zorg/smooshlab/slaves/clang/build.clang-i386-darwin9/llvm/include/llvm/PassManager.h:42: note: candidates are: virtual void llvm::PassManagerBase::add(llvm::Pass*)</span></pre></span><div>I'm reverting 85714, 85715, and 85716.</div></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>- Doug</div></div></body></html>