Skip to content

Commit 9087abd

Browse files
committed
[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.
1 parent 8e8f9c0 commit 9087abd

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

llvm/include/llvm/TargetParser/Triple.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ class Triple {
194194
IOS,
195195
KFreeBSD,
196196
Linux,
197-
Lv2, // PS3
197+
Lv2, // PS3
198198
MacOSX,
199199
NetBSD,
200200
OpenBSD,
@@ -204,18 +204,18 @@ class Triple {
204204
ZOS,
205205
Haiku,
206206
RTEMS,
207-
NaCl, // Native Client
207+
NaCl, // Native Client
208208
AIX,
209-
CUDA, // NVIDIA CUDA
210-
NVCL, // NVIDIA OpenCL
211-
AMDHSA, // AMD HSA Runtime
209+
CUDA, // NVIDIA CUDA
210+
NVCL, // NVIDIA OpenCL
211+
AMDHSA, // AMD HSA Runtime
212212
PS4,
213213
PS5,
214214
ELFIAMCU,
215-
TvOS, // Apple tvOS
216-
WatchOS, // Apple watchOS
217-
DriverKit, // Apple DriverKit
218-
XROS, // Apple XROS
215+
TvOS, // Apple tvOS
216+
WatchOS, // Apple watchOS
217+
DriverKit, // Apple DriverKit
218+
XROS, // Apple XROS
219219
Mesa3D,
220220
AMDPAL, // AMD PAL Runtime
221221
HermitCore, // HermitCore Unikernel/Multikernel
@@ -225,7 +225,7 @@ class Triple {
225225
ShaderModel, // DirectX ShaderModel
226226
LiteOS,
227227
Serenity,
228-
Vulkan, // Vulkan SPIR-V
228+
Vulkan, // Vulkan SPIR-V
229229
LastOSType = Vulkan
230230
};
231231
enum EnvironmentType {

0 commit comments

Comments
 (0)