From 3ecafe4d7d8f45da616be2ffef998c851dfb7b6b Mon Sep 17 00:00:00 2001 From: John McCall Date: Wed, 2 May 2012 05:44:20 +0000 Subject: [PATCH] Don't try to instantiate std::list at an incomplete type; it's not allowed, and it'll blow up in unfortunate ways when using a proper C++11 library. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155980 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Rewrite/TokenRewriter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/clang/Rewrite/TokenRewriter.h b/include/clang/Rewrite/TokenRewriter.h index 9ebd33a519..894db0953f 100644 --- a/include/clang/Rewrite/TokenRewriter.h +++ b/include/clang/Rewrite/TokenRewriter.h @@ -16,12 +16,12 @@ #define LLVM_CLANG_TOKENREWRITER_H #include "clang/Basic/SourceLocation.h" +#include "clang/Lex/Token.h" #include "llvm/ADT/OwningPtr.h" #include #include namespace clang { - class Token; class LangOptions; class ScratchBuffer; -- 2.40.0