[llvm-commits] [llvm] r85714 - in /llvm/trunk: include/llvm/PassManager.h include/llvm/PassManagers.h lib/Transforms/IPO/IPO.cpp tools/llvm-prof/llvm-prof.cpp

Douglas Gregor dgregor at apple.com
Sun Nov 1 08:44:20 PST 2009


On Nov 1, 2009, at 7:20 AM, Dan Gohman wrote:

> Author: djg
> Date: Sun Nov  1 09:20:19 2009
> New Revision: 85714
>
> URL: http://llvm.org/viewvc/llvm-project?rev=85714&view=rev
> Log:
> Remove the #include of Pass.h from PassManager.h. This breaks a  
> significant
> #include dependency, as frontends commonly pull in PassManager.h.

This change causes the build to fail everywhere, with errors such as:

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*)
I'm reverting 85714, 85715, and 85716.

	- Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20091101/4ee6bb15/attachment.html>


More information about the llvm-commits mailing list