[llvm] 9087abd - [llvm] Format OSType enum (NFC)
Jonas Devlieghere via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 19 12:20:40 PST 2024
Author: Jonas Devlieghere
Date: 2024-02-19T12:20:23-08:00
New Revision: 9087abdac31136ca88064509aa856d1bd6f22f10
URL: https://github.com/llvm/llvm-project/commit/9087abdac31136ca88064509aa856d1bd6f22f10
DIFF: https://github.com/llvm/llvm-project/commit/9087abdac31136ca88064509aa856d1bd6f22f10.diff
LOG: [llvm] Format OSType enum (NFC)
The trailing comments cause clang-format to complain every time the enum
is modified. Fix the formatting to avoid tripping up the formatting
check on GitHub.
Added:
Modified:
llvm/include/llvm/TargetParser/Triple.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/TargetParser/Triple.h b/llvm/include/llvm/TargetParser/Triple.h
index 26c3d2f67913a5..57846ea009509c 100644
--- a/llvm/include/llvm/TargetParser/Triple.h
+++ b/llvm/include/llvm/TargetParser/Triple.h
@@ -194,7 +194,7 @@ class Triple {
IOS,
KFreeBSD,
Linux,
- Lv2, // PS3
+ Lv2, // PS3
MacOSX,
NetBSD,
OpenBSD,
@@ -204,18 +204,18 @@ class Triple {
ZOS,
Haiku,
RTEMS,
- NaCl, // Native Client
+ NaCl, // Native Client
AIX,
- CUDA, // NVIDIA CUDA
- NVCL, // NVIDIA OpenCL
- AMDHSA, // AMD HSA Runtime
+ CUDA, // NVIDIA CUDA
+ NVCL, // NVIDIA OpenCL
+ AMDHSA, // AMD HSA Runtime
PS4,
PS5,
ELFIAMCU,
- TvOS, // Apple tvOS
- WatchOS, // Apple watchOS
- DriverKit, // Apple DriverKit
- XROS, // Apple XROS
+ TvOS, // Apple tvOS
+ WatchOS, // Apple watchOS
+ DriverKit, // Apple DriverKit
+ XROS, // Apple XROS
Mesa3D,
AMDPAL, // AMD PAL Runtime
HermitCore, // HermitCore Unikernel/Multikernel
@@ -225,7 +225,7 @@ class Triple {
ShaderModel, // DirectX ShaderModel
LiteOS,
Serenity,
- Vulkan, // Vulkan SPIR-V
+ Vulkan, // Vulkan SPIR-V
LastOSType = Vulkan
};
enum EnvironmentType {
More information about the llvm-commits
mailing list