[llvm-commits] [llvm] r77624 - in /llvm/trunk: include/llvm/ADT/Twine.h lib/Support/Twine.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Jul 30 14:43:28 PDT 2009


On 30/07/2009, at 23.15, Daniel Dunbar wrote:

> Author: ddunbar
> Date: Thu Jul 30 16:15:14 2009
> New Revision: 77624
>
> URL: http://llvm.org/viewvc/llvm-project?rev=77624&view=rev
> Log:
> Twine: Directly support int, long, and long long types.
> - This should resolve Cygwin gcc ambiguities.

> +    explicit Twine(const unsigned long long &Val)
> +      : LHS(&Val), LHSKind(DecULLKind), RHSKind(EmptyKind) {

I don't think MSVC supports "long long", it's a C99 / GNU thing. Take  
a look at Support/DataTypes.h.

Maybe it will work with int+long+int64_t, but you should test that on  
an LP64 platform where long is 64 bits.

/jakob




More information about the llvm-commits mailing list