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.

llvm-svn: 155980
This commit is contained in:
John McCall 2012-05-02 05:44:20 +00:00
parent 8647296fef
commit b6625979a2
1 changed files with 1 additions and 1 deletions

View File

@ -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;