[cfe-commits] r64863 - /cfe/trunk/include/clang/AST/ASTContext.h

Daniel Dunbar daniel at zuster.org
Tue Feb 17 21:02:14 PST 2009


Yes, but requires wide swaths of ASTContext to become const as well first.

On Tue, Feb 17, 2009 at 5:00 PM, Chris Lattner <clattner at apple.com> wrote:
>
> On Feb 17, 2009, at 4:29 PM, Daniel Dunbar wrote:
>
>> Author: ddunbar
>> Date: Tue Feb 17 18:29:14 2009
>> New Revision: 64863
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=64863&view=rev
>> Log:
>> Add ASTContext::MakeIntValue
>> - Makes an APSInt given a uint64_t and a type, with the appropriate
>>  width and signedness to match the type. Yay for functional over
>>  imperative.
>
> Should this method be marked 'const'?
>
> -Chris
>
>



More information about the cfe-commits mailing list