[PATCH] TableGen backend to generate an index in ctags(1) format.
Kevin Schoedel
kevin.p.schoedel at intel.com
Mon Mar 18 11:45:26 PDT 2013
Thanks for the feedback.
There doesn't seem to be a good way to identify which files to run llvm-tblgen on without involving the build system (or replicating information from it); that is not done for normal C++ tags, so I didn't want to do it here. (This is not a problem from ctags(1), which merely scans individual source files and does not require them to be buildable.) The added script tries to guess reasonably well, and can be told to shut tblgen up in the cases it gets wrong.
Tested on Linux and OS X.
http://llvm-reviews.chandlerc.com/D546
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D546?vs=1301&id=1308#toc
Files:
utils/TableGen/CMakeLists.txt
utils/TableGen/CTagsEmitter.cpp
utils/TableGen/TableGen.cpp
utils/TableGen/TableGenBackends.h
utils/TableGen/tdtags
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D546.2.patch
Type: text/x-patch
Size: 16314 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130318/f41404d8/attachment.bin>
More information about the llvm-commits
mailing list