[llvm] fc71b1c - [NFC][LLVM] Fix line endings for DXILABI.cpp (#160791)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 26 08:57:54 PDT 2025
Author: Rahul Joshi
Date: 2025-09-26T08:57:51-07:00
New Revision: fc71b1ce242a1ae16c293422d14628e724fbc412
URL: https://github.com/llvm/llvm-project/commit/fc71b1ce242a1ae16c293422d14628e724fbc412
DIFF: https://github.com/llvm/llvm-project/commit/fc71b1ce242a1ae16c293422d14628e724fbc412.diff
LOG: [NFC][LLVM] Fix line endings for DXILABI.cpp (#160791)
Fix line ending to Unix style by running dos2unix on this file.
Added:
Modified:
llvm/lib/Support/DXILABI.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Support/DXILABI.cpp b/llvm/lib/Support/DXILABI.cpp
index 082e32061bd45..ba6e16a0181c7 100644
--- a/llvm/lib/Support/DXILABI.cpp
+++ b/llvm/lib/Support/DXILABI.cpp
@@ -1,33 +1,33 @@
-//===-- DXILABI.cpp - ABI Sensitive Values for DXIL -----------------------===//
-//
-// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-// See https://llvm.org/LICENSE.txt for license information.
-// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-//
-//===----------------------------------------------------------------------===//
-//
-// This file contains definitions of various constants and enums that are
-// required to remain stable as per the DXIL format's requirements.
-//
-// Documentation for DXIL can be found in
-// https://github.com/Microsoft/DirectXShaderCompiler/blob/main/docs/DXIL.rst.
-//
-//===----------------------------------------------------------------------===//
-
-#include "llvm/Support/DXILABI.h"
-#include "llvm/Support/ErrorHandling.h"
-using namespace llvm;
-
-StringRef dxil::getResourceClassName(dxil::ResourceClass RC) {
- switch (RC) {
- case dxil::ResourceClass::SRV:
- return "SRV";
- case dxil::ResourceClass::UAV:
- return "UAV";
- case dxil::ResourceClass::CBuffer:
- return "CBV";
- case dxil::ResourceClass::Sampler:
- return "Sampler";
- }
- llvm_unreachable("Invalid ResourceClass enum value");
-}
+//===-- DXILABI.cpp - ABI Sensitive Values for DXIL -----------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// This file contains definitions of various constants and enums that are
+// required to remain stable as per the DXIL format's requirements.
+//
+// Documentation for DXIL can be found in
+// https://github.com/Microsoft/DirectXShaderCompiler/blob/main/docs/DXIL.rst.
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/Support/DXILABI.h"
+#include "llvm/Support/ErrorHandling.h"
+using namespace llvm;
+
+StringRef dxil::getResourceClassName(dxil::ResourceClass RC) {
+ switch (RC) {
+ case dxil::ResourceClass::SRV:
+ return "SRV";
+ case dxil::ResourceClass::UAV:
+ return "UAV";
+ case dxil::ResourceClass::CBuffer:
+ return "CBV";
+ case dxil::ResourceClass::Sampler:
+ return "Sampler";
+ }
+ llvm_unreachable("Invalid ResourceClass enum value");
+}
More information about the llvm-commits
mailing list