From: NAKAMURA Takumi Date: Sun, 5 Feb 2012 02:00:07 +0000 (+0000) Subject: Try to fix Benjamin's r149781 on MSVC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7af19b817ba964ac560b50c1ed6183235f699789;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149797 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/CanonicalType.h b/include/clang/AST/CanonicalType.h index 38e6b41977..99552b3617 100644 --- a/include/clang/AST/CanonicalType.h +++ b/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