[llvm] 5623da5 - DebugSubsectionVisitor.h - remove unnecessary includes/forward declarations. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 22 06:42:36 PDT 2020
Author: Simon Pilgrim
Date: 2020-07-22T14:19:41+01:00
New Revision: 5623da56d07b2fa434825af0f3e8494afacf3c52
URL: https://github.com/llvm/llvm-project/commit/5623da56d07b2fa434825af0f3e8494afacf3c52
DIFF: https://github.com/llvm/llvm-project/commit/5623da56d07b2fa434825af0f3e8494afacf3c52.diff
LOG: DebugSubsectionVisitor.h - remove unnecessary includes/forward declarations. NFC.
We don't need the StringsAndChecksumsRef forward declaration as we have to include StringsAndChecksums.h.
We don't need DebugSubsectionRecord.h and we forward declare all referenced classes.
We don't need to include cstdint as we don't use any stdint types.
Added:
Modified:
llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h b/llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h
index 720b1b49581f..624a623e75b8 100644
--- a/llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h
+++ b/llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h
@@ -10,10 +10,8 @@
#define LLVM_DEBUGINFO_CODEVIEW_MODULEDEBUGFRAGMENTVISITOR_H
#include "llvm/DebugInfo/CodeView/CodeView.h"
-#include "llvm/DebugInfo/CodeView/DebugSubsectionRecord.h"
#include "llvm/DebugInfo/CodeView/StringsAndChecksums.h"
#include "llvm/Support/Error.h"
-#include <cstdint>
namespace llvm {
@@ -30,7 +28,6 @@ class DebugStringTableSubsectionRef;
class DebugSymbolRVASubsectionRef;
class DebugSymbolsSubsectionRef;
class DebugUnknownSubsectionRef;
-class StringsAndChecksumsRef;
class DebugSubsectionVisitor {
public:
More information about the llvm-commits
mailing list