On 05.02.2012, at 03:00, NAKAMURA Takumi wrote: > Author: chapuni > Date: Sat Feb 4 20:00:07 2012 > New Revision: 149797 > > URL: http://llvm.org/viewvc/llvm-project?rev=149797&view=rev > Log: > Try to fix Benjamin's r149781 on MSVC. > > MSVC has complained the definition of "inline const DiagnosticBuilder > &operator<<(const DiagnosticBuilder &DB, CanQualType T)" in > clang/AST/CanonicalType.h.
Thanks! I saw your bot failing but couldn't figure out what was going on from the distance. Including Diagnostic.h again defeats the purpose of my patch though, I fixed that in r149819. - Ben > Modified: > cfe/trunk/include/clang/AST/CanonicalType.h > > Modified: cfe/trunk/include/clang/AST/CanonicalType.h > URL: > http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/CanonicalType.h?rev=149797&r1=149796&r2=149797&view=diff > ============================================================================== > --- cfe/trunk/include/clang/AST/CanonicalType.h (original) > +++ cfe/trunk/include/clang/AST/CanonicalType.h Sat Feb 4 20:00:07 2012 > @@ -16,6 +16,7 @@ > #define LLVM_CLANG_AST_CANONICAL_TYPE_H > > #include "clang/AST/Type.h" > +#include "clang/Basic/Diagnostic.h" > #include "llvm/Support/Casting.h" > #include "llvm/Support/type_traits.h" > #include <iterator> > > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
