Skip to content

Commit 473f6df

Browse files
committed
clang format
1 parent 084cdd0 commit 473f6df

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
@@ -390,15 +390,16 @@ static void emitDXILAttributes(const RecordKeeper &Records, raw_ostream &OS) {
390390
static void emitDXILProperties(const RecordKeeper &Records, raw_ostream &OS) {
391391
// Generate their definitions
392392
OS << "#ifdef DXIL_PROPERTY\n";
393-
for (const Record *Prop: Records.getAllDerivedDefinitions("DXILProperty"))
393+
for (const Record *Prop : Records.getAllDerivedDefinitions("DXILProperty"))
394394
OS << "DXIL_PROPERTY(" << Prop->getName() << ")\n";
395395
OS << "#undef DXIL_PROPERTY\n";
396396
OS << "#endif\n\n";
397397
}
398398

399-
static void emitDXILPropertyHelpers(const RecordKeeper &Records, raw_ostream &OS) {
399+
static void emitDXILPropertyHelpers(const RecordKeeper &Records,
400+
raw_ostream &OS) {
400401
// Generate their helper functions
401-
for (const Record *Prop: Records.getAllDerivedDefinitions("DXILProperty")) {
402+
for (const Record *Prop : Records.getAllDerivedDefinitions("DXILProperty")) {
402403
OS << "[[maybe_unused]]\n";
403404
OS << "static bool has" << Prop->getName() << "(dxil::OpCode Op) {\n";
404405
OS << " auto *OpCodeProp = getOpCodeProperty(Op);\n";

0 commit comments

Comments
 (0)