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/DebugCrossExSubsection.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/DebugCrossExSubsection.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp b/llvm/lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp index b234104..b48f579 100644 --- a/llvm/lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp +++ b/llvm/lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp @@ -8,6 +8,7 @@ #include "llvm/DebugInfo/CodeView/DebugCrossExSubsection.h" #include "llvm/DebugInfo/CodeView/CodeViewError.h" +#include "llvm/Support/BinaryStreamReader.h" #include "llvm/Support/BinaryStreamWriter.h" #include "llvm/Support/Error.h" #include <cstdint> |