From bb573cbb0fcc4e8e0049132504502e48f59c12f4 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Wed, 20 Jul 2016 18:28:19 +0000 Subject: [PATCH] Fix modules self-host: add missing include and forward-decl. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@276152 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Lex/PTHManager.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/clang/Lex/PTHManager.h b/include/clang/Lex/PTHManager.h index 53939f624e..f4e4774429 100644 --- a/include/clang/Lex/PTHManager.h +++ b/include/clang/Lex/PTHManager.h @@ -15,6 +15,7 @@ #define LLVM_CLANG_LEX_PTHMANAGER_H #include "clang/Basic/IdentifierTable.h" +#include "clang/Basic/SourceLocation.h" #include "llvm/ADT/STLExtras.h" #include "llvm/Support/Allocator.h" #include "llvm/Support/OnDiskHashTable.h" @@ -26,6 +27,7 @@ namespace llvm { namespace clang { class FileEntry; +class Preprocessor; class PTHLexer; class DiagnosticsEngine; class FileSystemStatCache; -- 2.40.0