[llvm-commits] [llvm] r122719 - in /llvm/trunk: include/llvm/InitializePasses.h include/llvm/Transforms/Scalar.h lib/Transforms/Scalar/CMakeLists.txt lib/Transforms/Scalar/LoopInstSimplify.cpp lib/Transforms/Scalar/Scalar.cpp

Chris Lattner clattner at apple.com
Tue Jan 4 10:17:43 PST 2011


On Jan 3, 2011, at 3:22 AM, Cameron Zwarich wrote:

>>> +bool LoopInstSimplify::runOnLoop(Loop* L, LPPassManager&  LPM) {
>>> +  DominatorTree* DT =&getAnalysis<DominatorTree>();
>> 
>> Usual style is a space before the * not after.
> 
> Is this true? I see both all over LLVM. I try to duplicate the style of whatever file I'm in, but when it's a new file I'm not sure which other style to emulate.

Please use "Loop *L", thanks!

-Chris



More information about the llvm-commits mailing list