Skip to content

Commit 997a9af

Browse files
committed
clang-format fixes
1 parent 21d4383 commit 997a9af

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

llvm/utils/TableGen/Common/CodeGenTarget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
#ifndef LLVM_UTILS_TABLEGEN_CODEGENTARGET_H
1717
#define LLVM_UTILS_TABLEGEN_CODEGENTARGET_H
1818

19+
#include "Basic/SDNodeProperties.h"
1920
#include "CodeGenHwModes.h"
2021
#include "CodeGenInstruction.h"
2122
#include "InfoByHwMode.h"
22-
#include "Basic/SDNodeProperties.h"
2323
#include "llvm/ADT/ArrayRef.h"
2424
#include "llvm/ADT/DenseMap.h"
2525
#include "llvm/ADT/SmallVector.h"

llvm/utils/TableGen/SearchableTableEmitter.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -723,8 +723,10 @@ void SearchableTableEmitter::run(raw_ostream &OS) {
723723
for (const auto &FieldName : Fields) {
724724
Table->Fields.emplace_back(FieldName); // Construct a GenericField.
725725

726-
if (auto TypeOfRecordVal = TableRec->getValue(("TypeOf_" + FieldName).str())) {
727-
if (!parseFieldType(Table->Fields.back(), TypeOfRecordVal->getValue())) {
726+
if (auto TypeOfRecordVal =
727+
TableRec->getValue(("TypeOf_" + FieldName).str())) {
728+
if (!parseFieldType(Table->Fields.back(),
729+
TypeOfRecordVal->getValue())) {
728730
PrintError(TypeOfRecordVal,
729731
Twine("Table '") + Table->Name + "' has invalid 'TypeOf_" +
730732
FieldName +

0 commit comments

Comments
 (0)