[llvm] 2c435b8 - [DXIL] Remove extraneous include from DXILABI.h (#100620)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 27 22:16:39 PDT 2024
Author: Justin Bogner
Date: 2024-07-27T22:16:35-07:00
New Revision: 2c435b80a1b85e00cedce13bad29d3c0a4a69189
URL: https://github.com/llvm/llvm-project/commit/2c435b80a1b85e00cedce13bad29d3c0a4a69189
DIFF: https://github.com/llvm/llvm-project/commit/2c435b80a1b85e00cedce13bad29d3c0a4a69189.diff
LOG: [DXIL] Remove extraneous include from DXILABI.h (#100620)
I'm not sure how an include of StringSwitch got here, but it isn't
needed.
Added:
Modified:
llvm/include/llvm/Frontend/HLSL/HLSLResource.h
llvm/include/llvm/Support/DXILABI.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Frontend/HLSL/HLSLResource.h b/llvm/include/llvm/Frontend/HLSL/HLSLResource.h
index 4ed742b4129a2..989893bcaccec 100644
--- a/llvm/include/llvm/Frontend/HLSL/HLSLResource.h
+++ b/llvm/include/llvm/Frontend/HLSL/HLSLResource.h
@@ -13,6 +13,7 @@
#ifndef LLVM_FRONTEND_HLSL_HLSLRESOURCE_H
#define LLVM_FRONTEND_HLSL_HLSLRESOURCE_H
+#include "llvm/ADT/StringRef.h"
#include "llvm/Support/DXILABI.h"
namespace llvm {
diff --git a/llvm/include/llvm/Support/DXILABI.h b/llvm/include/llvm/Support/DXILABI.h
index d0bed4d5cf383..a2222eec09ba8 100644
--- a/llvm/include/llvm/Support/DXILABI.h
+++ b/llvm/include/llvm/Support/DXILABI.h
@@ -17,7 +17,7 @@
#ifndef LLVM_SUPPORT_DXILABI_H
#define LLVM_SUPPORT_DXILABI_H
-#include "llvm/ADT/StringSwitch.h"
+#include <cstdint>
namespace llvm {
namespace dxil {
More information about the llvm-commits
mailing list