[llvm-commits] [llvm] r62269 - in /llvm/trunk: lib/CodeGen/AsmPrinter/DwarfWriter.cpp test/DebugInfo/2009-01-15-RecordVariableCrash.ll

Duncan Sands baldrick at free.fr
Fri Jan 16 01:21:03 PST 2009


Hi Devang,

>    DbgScope *Parent;                   // Parent to this scope.
> -  DIDescriptor *Desc;                 // Debug info descriptor for scope.
> +  DIDescriptor Desc;                 // Debug info descriptor for scope.

misaligned comment.

>    // Accessors.
>    DbgScope *getParent()        const { return Parent; }
> -  DIDescriptor *getDesc()       const { return Desc; }
> +  DIDescriptor getDesc()       const { return Desc; }
>    unsigned getStartLabelID()     const { return StartLabelID; }
>    unsigned getEndLabelID()       const { return EndLabelID; }

probably these "const"s all lined up once.

Ciao,

Duncan.



More information about the llvm-commits mailing list