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

David A. Greene greened at obbligato.org
Fri Jul 29 13:47:37 PDT 2011


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.

                                  -Dave



More information about the llvm-commits mailing list