File tree 2 files changed +5
-3
lines changed 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 16
16
#ifndef LLVM_UTILS_TABLEGEN_CODEGENTARGET_H
17
17
#define LLVM_UTILS_TABLEGEN_CODEGENTARGET_H
18
18
19
+ #include " Basic/SDNodeProperties.h"
19
20
#include " CodeGenHwModes.h"
20
21
#include " CodeGenInstruction.h"
21
22
#include " InfoByHwMode.h"
22
- #include " Basic/SDNodeProperties.h"
23
23
#include " llvm/ADT/ArrayRef.h"
24
24
#include " llvm/ADT/DenseMap.h"
25
25
#include " llvm/ADT/SmallVector.h"
Original file line number Diff line number Diff line change @@ -723,8 +723,10 @@ void SearchableTableEmitter::run(raw_ostream &OS) {
723
723
for (const auto &FieldName : Fields) {
724
724
Table->Fields .emplace_back (FieldName); // Construct a GenericField.
725
725
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 ())) {
728
730
PrintError (TypeOfRecordVal,
729
731
Twine (" Table '" ) + Table->Name + " ' has invalid 'TypeOf_" +
730
732
FieldName +
You can’t perform that action at this time.
0 commit comments