Skip to content

Commit 5f5f82a

Browse files
[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.
1 parent bd84111 commit 5f5f82a

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

llvm/include/llvm/Support/VersionTuple.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
#include "llvm/ADT/DenseMapInfo.h"
1818
#include "llvm/ADT/Hashing.h"
19-
#include "llvm/Support/Endian.h"
2019
#include <optional>
2120
#include <string>
2221
#include <tuple>

llvm/lib/DebugInfo/BTF/BTFParser.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
#include "llvm/DebugInfo/BTF/BTFParser.h"
1515
#include "llvm/ADT/StringExtras.h"
16+
#include "llvm/Support/Endian.h"
1617
#include "llvm/Support/Errc.h"
1718

1819
#define DEBUG_TYPE "debug-info-btf-parser"

0 commit comments

Comments
 (0)