[all-commits] [llvm/llvm-project] 2e2ad5: [mlir] Generate C++ doc comments for interfaces
ftynse via All-commits
all-commits at lists.llvm.org
Wed Aug 10 06:12:47 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2e2ad53979045cb18d1c5924af8cb7cc75de5c77
https://github.com/llvm/llvm-project/commit/2e2ad53979045cb18d1c5924af8cb7cc75de5c77
Author: Alex Zinenko <zinenko at google.com>
Date: 2022-08-10 (Wed, 10 Aug 2022)
Changed paths:
M mlir/include/mlir/Support/IndentedOstream.h
M mlir/lib/Support/IndentedOstream.cpp
M mlir/test/mlir-tblgen/op-interface.td
M mlir/tools/mlir-tblgen/DocGenUtilities.h
M mlir/tools/mlir-tblgen/OpDocGen.cpp
M mlir/tools/mlir-tblgen/OpInterfacesGen.cpp
Log Message:
-----------
[mlir] Generate C++ doc comments for interfaces
When emitting the declarations for interface methods defined in ODS,
also emit their descriptions as C++ comments. This makes the
documentation accessible to C++ tooling such as IDEs that offers better
usability than reading it form the .td or the website.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D130478
More information about the All-commits
mailing list