projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc13efb
)
Apply clang-tidy fixes for llvm-qualified-auto in OpFormatGen.cpp (NFC)
author
Mehdi Amini
<joker.eph@gmail.com>
Mon, 29 Aug 2022 12:10:15 +0000
(12:10 +0000)
committer
Mehdi Amini
<joker.eph@gmail.com>
Tue, 13 Sep 2022 01:09:14 +0000
(
01:09
+0000)
mlir/tools/mlir-tblgen/OpFormatGen.cpp
patch
|
blob
|
history
diff --git
a/mlir/tools/mlir-tblgen/OpFormatGen.cpp
b/mlir/tools/mlir-tblgen/OpFormatGen.cpp
index
304af57
..
c8ca809
100644
(file)
--- a/
mlir/tools/mlir-tblgen/OpFormatGen.cpp
+++ b/
mlir/tools/mlir-tblgen/OpFormatGen.cpp
@@
-2468,7
+2468,7
@@
LogicalResult
OpFormatParser::verifyAttributeColonType(SMLoc loc,
ArrayRef<FormatElement *> elements) {
auto isBase = [](FormatElement *el) {
- auto attr = dyn_cast<AttributeVariable>(el);
+ auto
*
attr = dyn_cast<AttributeVariable>(el);
if (!attr)
return false;
// Check only attributes without type builders or that are known to call