aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Rewrite
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2012-05-02 05:44:20 +0000
committerJohn McCall <rjmccall@apple.com>2012-05-02 05:44:20 +0000
commit3ecafe4d7d8f45da616be2ffef998c851dfb7b6b (patch)
tree699a6ea0ce4c5a050eb7be4b3b3f6c7aca904821 /include/clang/Rewrite
parent6d89b4bcb2c0c4c67931f138ed04f47111e418f7 (diff)
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
Diffstat (limited to 'include/clang/Rewrite')
-rw-r--r--include/clang/Rewrite/TokenRewriter.h2
1 files changed, 1 insertions, 1 deletions
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 <list>
#include <map>
namespace clang {
- class Token;
class LangOptions;
class ScratchBuffer;