[PATCH] D41102: Setup clang-doc frontend framework

Julie Hockett via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 11 17:36:43 PST 2017


juliehockett created this revision.
juliehockett added a project: clang.
Herald added a subscriber: mgorny.

Setting up a basic frontend framework for a clang-doc tool. It creates a frontend action for traversing the AST to extract comments and declarations, with a flag to only extract documentation-style comments. Right now, it outputs its findings in YAML format to the command line.

For a more detailed overview of the tool, see the design document on the mailing list: RFC: clang-doc proposal <http://lists.llvm.org/pipermail/cfe-dev/2017-December/056203.html>


https://reviews.llvm.org/D41102

Files:
  tools/CMakeLists.txt
  tools/clang-doc/CMakeLists.txt
  tools/clang-doc/ClangDoc.cpp
  tools/clang-doc/ClangDoc.h
  tools/clang-doc/ClangDocReporter.cpp
  tools/clang-doc/ClangDocReporter.h
  tools/clang-doc/tool/CMakeLists.txt
  tools/clang-doc/tool/ClangDocMain.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41102.126485.patch
Type: text/x-patch
Size: 22222 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171212/db781c88/attachment-0001.bin>


More information about the cfe-commits mailing list