diff options
author | Peng Chen <pchen7e2@gmail.com> | 2025-05-14 13:09:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-14 22:09:48 +0200 |
commit | 3138f6cc8c3378731aad966bf63cb5d54fb9e2ea (patch) | |
tree | f406df8ba7d19513d6203b0dcca1ec028d5cb746 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5ee67ee6bc45979eb81b087c6a700573e2ab61db (diff) | |
download | llvm-3138f6cc8c3378731aad966bf63cb5d54fb9e2ea.zip llvm-3138f6cc8c3378731aad966bf63cb5d54fb9e2ea.tar.gz llvm-3138f6cc8c3378731aad966bf63cb5d54fb9e2ea.tar.bz2 |
[MLIR] Generate cpp comments for TableGen summary and description (#139606)
This commit takes the `summary` and `description` of TableGen files and
generate a cpp comments on top of the declarations of generated cpp
classes.
The main motivation is to improve the developer experience. When people
work on compilers from an IDE, they will be able to hover over the
symbols (e.g. `"ADialect::BOp"`) in their cpp code and see the summary
and descriptions without having to referring to the `.td` files.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions