[llvm-commits] [llvm] r136485 - /llvm/trunk/utils/TableGen/

Chris Lattner clattner at apple.com
Fri Jul 29 14:09:55 PDT 2011


On Jul 29, 2011, at 1:47 PM, David A. Greene wrote:

> Chris Lattner <clattner at apple.com> writes:
> 
>> If a type is *only* immutable, 'const' is just noise in the codebase.
>> This is why llvm::Type is no longer const qualified anywhere.
> 
> "const" is most definitely NOT just noise.  It conveys semantics and
> catches errors at compile time.

I said that 'const' is just noise for only-immutable types, not in general.

-Chris



More information about the llvm-commits mailing list