[llvm] a2b7159 - [XRay] Adjust includes of bitset (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 5 20:37:10 PST 2023
Author: Kazu Hirata
Date: 2023-12-05T20:37:04-08:00
New Revision: a2b715920ab6978949db8c85a8afd22942898f5b
URL: https://github.com/llvm/llvm-project/commit/a2b715920ab6978949db8c85a8afd22942898f5b
DIFF: https://github.com/llvm/llvm-project/commit/a2b715920ab6978949db8c85a8afd22942898f5b.diff
LOG: [XRay] Adjust includes of bitset (NFC)
BlockVerifier.cpp uses std::bitset, not BlockVerifier.h.
Identified with clangd.
Added:
Modified:
llvm/include/llvm/XRay/BlockVerifier.h
llvm/lib/XRay/BlockVerifier.cpp
Removed:
################################################################################
diff --git a/llvm/include/llvm/XRay/BlockVerifier.h b/llvm/include/llvm/XRay/BlockVerifier.h
index 0bfbbb6c5b076..2450ad89ffe3d 100644
--- a/llvm/include/llvm/XRay/BlockVerifier.h
+++ b/llvm/include/llvm/XRay/BlockVerifier.h
@@ -14,7 +14,6 @@
#define LLVM_XRAY_BLOCKVERIFIER_H
#include "llvm/XRay/FDRRecords.h"
-#include <bitset>
namespace llvm {
namespace xray {
diff --git a/llvm/lib/XRay/BlockVerifier.cpp b/llvm/lib/XRay/BlockVerifier.cpp
index 9fb49fa9a8609..99f255ea66887 100644
--- a/llvm/lib/XRay/BlockVerifier.cpp
+++ b/llvm/lib/XRay/BlockVerifier.cpp
@@ -8,6 +8,8 @@
#include "llvm/XRay/BlockVerifier.h"
#include "llvm/Support/Error.h"
+#include <bitset>
+
namespace llvm {
namespace xray {
namespace {
More information about the llvm-commits
mailing list