mirror-llvm-project/mlir/lib/TableGen
Luke Hutton f72f994ad8
[mlir][ods] Fix string interpolation at end of description (#209744)
Updates the error streaming string logic to handle the case where string
interpolation used at the end of the description. Previously this could
generate malformed code that would not compile e.g.:
```
"' failed to satisfy constraint: another attribute " << reformat(attr)";
```
With this change the above example would now generate:
```
"' failed to satisfy constraint: another attribute " << reformat(attr) << "";
```
2026-07-21 12:46:42 +01:00
..
Argument.cpp
Attribute.cpp
AttrOrTypeDef.cpp [mlir][tblgen] Add PredTypeTrait/PredAttrTrait support (#169153) 2026-02-03 14:00:56 -08:00
Builder.cpp
Class.cpp
CMakeLists.txt
CodeGenHelpers.cpp [mlir][ods] Fix string interpolation at end of description (#209744) 2026-07-21 12:46:42 +01:00
Constraint.cpp [mlir] Remove unused DenseMapInfo::getEmptyKey (#201991) 2026-06-06 12:33:34 -07:00
Dialect.cpp [MLIR] Remove deprecated setting usePropertiesForAttributes (#182327) 2026-02-24 17:50:38 +01:00
EnumInfo.cpp
Format.cpp [Support] Remove virtual functions from formatv (#207516) 2026-07-05 08:45:49 +02:00
GenInfo.cpp
Interfaces.cpp [mlir][tblgen] Emit diagnostic instead of crashing for invalid interface method arg type (#186430) 2026-03-23 13:51:36 +01:00
Operator.cpp [mlir] Fix new clang-tidy warning llvm-type-switch-case-types. NFC. (#178487) 2026-01-28 19:13:47 +00:00
Pass.cpp
Pattern.cpp [mlir][tblgen] Don't echo absolute paths into rewrite pattern source (#168984) 2025-11-25 11:30:43 -08:00
Predicate.cpp
Property.cpp
Region.cpp
SideEffects.cpp
Successor.cpp [mlir] Remove unused includes (NFC) (#150476) 2025-07-24 11:23:53 -07:00
Trait.cpp
Type.cpp [mlir] Fix new clang-tidy warning llvm-type-switch-case-types. NFC. (#178487) 2026-01-28 19:13:47 +00:00