r276152 - Fix modules self-host: add missing include and forward-decl.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 20 11:28:19 PDT 2016


Author: rsmith
Date: Wed Jul 20 13:28:19 2016
New Revision: 276152

URL: http://llvm.org/viewvc/llvm-project?rev=276152&view=rev
Log:
Fix modules self-host: add missing include and forward-decl.

Modified:
    cfe/trunk/include/clang/Lex/PTHManager.h

Modified: cfe/trunk/include/clang/Lex/PTHManager.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/PTHManager.h?rev=276152&r1=276151&r2=276152&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/PTHManager.h (original)
+++ cfe/trunk/include/clang/Lex/PTHManager.h Wed Jul 20 13:28:19 2016
@@ -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;




More information about the cfe-commits mailing list