diff options
author | serge-sans-paille <sguelton@redhat.com> | 2022-02-04 12:14:43 +0100 |
---|---|---|
committer | serge-sans-paille <sguelton@redhat.com> | 2022-02-08 16:00:36 +0100 |
commit | 81cde474e2c5a6280cb693b777ddcf473825ae8a (patch) | |
tree | d1ace7b0547dc8525f941d01ce5c1d9e4c7a3f6b /llvm/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp | |
parent | 09857a4bd166ca62a9610629731dfbf8f62cd955 (diff) | |
download | llvm-81cde474e2c5a6280cb693b777ddcf473825ae8a.zip llvm-81cde474e2c5a6280cb693b777ddcf473825ae8a.tar.gz llvm-81cde474e2c5a6280cb693b777ddcf473825ae8a.tar.bz2 |
Cleanup LLVMDebugInfoCodeView headers
Major user-facing changes:
Many headers in llvm/DebugInfo/CodeView no longer include
llvm/Support/BinaryStreamReader.h or llvm/Support/BinaryStreamWriter.h,
those headers may need to be included manually.
Several headers in llvm/DebugInfo/CodeView no longer include
llvm/DebugInfo/CodeView/EnumTables.h or llvm/DebugInfo/CodeView/CodeView.h,
those headers may need to be included manually.
Some statistics:
$ clang++ -E -Iinclude -I../llvm/include ../llvm/lib/DebugInfo/CodeView/*.cpp -std=c++14 -fno-rtti -fno-exceptions | wc -l
after: 2794466
before: 2832765
Discourse thread on the topic: https://discourse.llvm.org/t/include-what-you-use-include-cleanup/
Differential Revision: https://reviews.llvm.org/D119092
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp b/llvm/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp index 7968b6a..50f6fb9 100644 --- a/llvm/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp +++ b/llvm/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp @@ -8,6 +8,7 @@ #include "llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h" +#include "llvm/DebugInfo/CodeView/CodeView.h" #include "llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h" #include "llvm/DebugInfo/CodeView/DebugCrossExSubsection.h" #include "llvm/DebugInfo/CodeView/DebugCrossImpSubsection.h" @@ -20,7 +21,7 @@ #include "llvm/DebugInfo/CodeView/DebugSymbolsSubsection.h" #include "llvm/DebugInfo/CodeView/DebugUnknownSubsection.h" #include "llvm/Support/BinaryStreamReader.h" -#include "llvm/Support/BinaryStreamRef.h" +#include "llvm/Support/SwapByteOrder.h" using namespace llvm; using namespace llvm::codeview; |