[llvm-commits] RFC moving doInitialization/doFinalization to Pass class

Pedro Artigas partigas at apple.com
Fri Nov 30 16:13:03 PST 2012


Hello All,

The patch below moves doInitialization(Module&) and doFinalization(Module&) to the Pass class (from Module/Function/Etc…), due to name clashes several using directives are needed to make it work. Since using the "using" keyword may be considered bad style I wanted to know what people think and if anyone can think of an alternative.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121130/6335ffe1/attachment.txt>
-------------- next part --------------


Thanks

Pedro 

PS: It also removes some unreachable code BTW


More information about the llvm-commits mailing list