From 9ef84dde4997d66069db99c3b5756be9ffdf4e0e Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sun, 5 Feb 2012 02:00:07 +0000 Subject: [PATCH] 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. llvm-svn: 149797 --- clang/include/clang/AST/CanonicalType.h | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/include/clang/AST/CanonicalType.h b/clang/include/clang/AST/CanonicalType.h index 38e6b41977f8..99552b36171e 100644 --- a/clang/include/clang/AST/CanonicalType.h +++ b/clang/include/clang/AST/CanonicalType.h @@ -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 -- GitLab