[cfe-dev] cfe-dev Digest, Vol 17, Issue 57

Alex.Wang alex.w.y.wang at gmail.com
Wed Nov 26 00:27:40 PST 2008


 Hi everyone.
I am using visual studio to compile the Clang. The compile output an error
saying:
Error    60    error C2039: 'Profile' : is not a member of
'llvm::ImmutableList<T>'    llvm-2.4\include\llvm\ADT\FoldingSet.h    199

what is wrong with that?  the declaration is:
template<typename T>
struct FoldingSetTrait {
  static inline void Profile(const T& X, FoldingSetNodeID& ID) {
X.Profile(ID);}
  static inline void Profile(T& X, FoldingSetNodeID& ID) { X.Profile(ID); }
};

very odd things...Can anyone explain what is wrong with that?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20081126/5bce68f0/attachment.html>


More information about the cfe-dev mailing list