> Hi, i have this problem
>
> llvm/Support/Casting.h:50:12: error: type 'unsigned long' cannot be
used
> prior to '::' because it has no members
> return To::classof(&Val);
>
> warning: implicit conversion from 'long' to 'uint64_t'
This looks like your bug, not neither LLVM nor clang bug. You cannot
use the LLVM's casting functions with non-LLVM types.
Here it seems you're doing something like cast<uint64_t>(foo), where
foo is 'long'
Consider reading http://llvm.org/docs/ProgrammersManual.html#isa for
more information (especially the last paragraph).
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University