diff options
author | Kazu Hirata <kazu@google.com> | 2023-11-02 23:09:04 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2023-11-02 23:09:04 -0700 |
commit | 5f5f82af966e6edcc72df02b36fb54401ab76266 (patch) | |
tree | 212da8f9e08a70972378d1713df2b3288bfb36aa | |
parent | bd841111f340a73eb23c1be70ff1be4c8a6afb0c (diff) | |
download | llvm-5f5f82af966e6edcc72df02b36fb54401ab76266.zip llvm-5f5f82af966e6edcc72df02b36fb54401ab76266.tar.gz llvm-5f5f82af966e6edcc72df02b36fb54401ab76266.tar.bz2 |
[llvm] Adjust files including llvm/Support/Endian.h (NFC)
llvm/include/llvm/Support/VersionTuple.h doesn't need anything from
llvm/Support/Endian.h, but llvm/lib/DebugInfo/BTF/BTFParser.cpp relies
on a transitive inclusion of llvm/Support/Endian.h.
-rw-r--r-- | llvm/include/llvm/Support/VersionTuple.h | 1 | ||||
-rw-r--r-- | llvm/lib/DebugInfo/BTF/BTFParser.cpp | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/VersionTuple.h b/llvm/include/llvm/Support/VersionTuple.h index e56efea..0a4623f 100644 --- a/llvm/include/llvm/Support/VersionTuple.h +++ b/llvm/include/llvm/Support/VersionTuple.h @@ -16,7 +16,6 @@ #include "llvm/ADT/DenseMapInfo.h" #include "llvm/ADT/Hashing.h" -#include "llvm/Support/Endian.h" #include <optional> #include <string> #include <tuple> diff --git a/llvm/lib/DebugInfo/BTF/BTFParser.cpp b/llvm/lib/DebugInfo/BTF/BTFParser.cpp index 4bc0c94..4fc31a4 100644 --- a/llvm/lib/DebugInfo/BTF/BTFParser.cpp +++ b/llvm/lib/DebugInfo/BTF/BTFParser.cpp @@ -13,6 +13,7 @@ #include "llvm/DebugInfo/BTF/BTFParser.h" #include "llvm/ADT/StringExtras.h" +#include "llvm/Support/Endian.h" #include "llvm/Support/Errc.h" #define DEBUG_TYPE "debug-info-btf-parser" |