]> granicus.if.org Git - clang/commitdiff
Try to fix Benjamin's r149781 on MSVC.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 5 Feb 2012 02:00:07 +0000 (02:00 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 5 Feb 2012 02:00:07 +0000 (02:00 +0000)
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

include/clang/AST/CanonicalType.h

index 38e6b41977f87b26e5756f73cf5fa71189936c82..99552b36171ee35b463c5fd71c05ee55553f8588 100644 (file)
@@ -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>