This allows for walking all nested locations of a given location, and is generally useful when processing locations.
Depends On D100436
Paths
| Differential D100437
[mlir] Add support for walking locations similarly to Operations ClosedPublic Authored by rriddle on Apr 13 2021, 7:55 PM.
Details Summary This allows for walking all nested locations of a given location, and is generally useful when processing locations. Depends On D100436
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 13 2021, 8:28 PM This revision was landed with ongoing or failed builds.Apr 15 2021, 4:16 PM Closed by commit rG706c9c5ce038: [mlir] Add support for walking locations similarly to Operations (authored by rriddle). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 337927 llvm/include/llvm/ADT/TypeSwitch.h
llvm/unittests/ADT/TypeSwitchTest.cpp
mlir/include/mlir/IR/Location.h
mlir/lib/IR/Diagnostics.cpp
mlir/lib/IR/Location.cpp
|
clang-tidy: warning: invalid case style for function 'Default'; cannot be fixed because 'default' would conflict with a keyword [readability-identifier-naming]
not useful
clang-tidy: warning: invalid case style for parameter 'defaultResult' [readability-identifier-naming]
not useful