]> granicus.if.org Git - llvm/commitdiff
[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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371870 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 80d82762766a43f49ab46f49e15828ffeda7fb6d..4ce27ee884c8c37026c7eb5ae317a8f3369b0680 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 1ce932db2e3aa8ed49120feb4a2902d08f9b8698..be923e865954d8c36ed3120fbdbf49672fd1d6ad 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"