Skip to content

Commit 66c0750

Browse files
committed
clang format
1 parent fd5dbce commit 66c0750

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

llvm/utils/TableGen/DXILEmitter.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -420,15 +420,16 @@ static void emitDXILAttributes(const RecordKeeper &Records, raw_ostream &OS) {
420420
static void emitDXILProperties(const RecordKeeper &Records, raw_ostream &OS) {
421421
// Generate their definitions
422422
OS << "#ifdef DXIL_PROPERTY\n";
423-
for (const Record *Prop: Records.getAllDerivedDefinitions("DXILProperty"))
423+
for (const Record *Prop : Records.getAllDerivedDefinitions("DXILProperty"))
424424
OS << "DXIL_PROPERTY(" << Prop->getName() << ")\n";
425425
OS << "#undef DXIL_PROPERTY\n";
426426
OS << "#endif\n\n";
427427
}
428428

429-
static void emitDXILPropertyHelpers(const RecordKeeper &Records, raw_ostream &OS) {
429+
static void emitDXILPropertyHelpers(const RecordKeeper &Records,
430+
raw_ostream &OS) {
430431
// Generate their helper functions
431-
for (const Record *Prop: Records.getAllDerivedDefinitions("DXILProperty")) {
432+
for (const Record *Prop : Records.getAllDerivedDefinitions("DXILProperty")) {
432433
OS << "[[maybe_unused]]\n";
433434
OS << "static bool has" << Prop->getName() << "(dxil::OpCode Op) {\n";
434435
OS << " auto *OpCodeProp = getOpCodeProperty(Op);\n";

0 commit comments

Comments
 (0)