[Remarks][NFC] Forward declare ParsedStringTable
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Fri, 13 Sep 2019 17:27:28 +0000 (17:27 +0000)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Fri, 13 Sep 2019 17:27:28 +0000 (17:27 +0000)
llvm-svn: 371870

llvm/include/llvm/Remarks/RemarkStringTable.h
llvm/unittests/Remarks/YAMLRemarksSerializerTest.cpp

index 80d8276..4ce27ee 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "llvm/ADT/StringMap.h"
 #include "llvm/ADT/StringRef.h"
-#include "llvm/Remarks/RemarkParser.h"
+#include "llvm/Remarks/Remark.h"
 #include <vector>
 
 namespace llvm {
@@ -27,6 +27,8 @@ class raw_ostream;
 
 namespace remarks {
 
+struct ParsedStringTable;
+
 /// The string table used for serializing remarks.
 /// This table can be for example serialized in a section to be consumed after
 /// the compilation.
index 1ce932d..be923e8 100644 (file)
@@ -7,6 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/Remarks/Remark.h"
+#include "llvm/Remarks/RemarkParser.h"
 #include "llvm/Remarks/YAMLRemarkSerializer.h"
 #include "llvm/Support/Error.h"
 #include "gtest/gtest.h"