llvm-project/mlir/lib/Tools/PDLL/ODS
River Riddle bf352e0b2e [mlir:PDLL] Add better support for providing Constraint/Pattern/Rewrite documentation
This commit enables providing long-form documentation more seamlessly to the LSP
by revamping decl documentation. For ODS imported constructs, we now also import
descriptions and attach them to decls when possible. For PDLL constructs, the LSP will
now try to provide documentation by parsing the comments directly above the decls
location within the source file. This commit also adds a new parser flag
`enableDocumentation` that gates the import and attachment of ODS documentation,
which is unnecessary in the normal build process (i.e. it should only be used/consumed
by tools).

Differential Revision: https://reviews.llvm.org/D124881
2022-06-02 16:31:07 -07:00
..
CMakeLists.txt
Constraint.cpp
Context.cpp [mlir:PDLL] Rework the C++ generation of native Constraint/Rewrite arguments and results 2022-05-30 17:35:34 -07:00
Dialect.cpp [mlir:PDLL] Rework the C++ generation of native Constraint/Rewrite arguments and results 2022-05-30 17:35:34 -07:00
Operation.cpp [mlir:PDLL] Add better support for providing Constraint/Pattern/Rewrite documentation 2022-06-02 16:31:07 -07:00