[PATCH] D41102: Setup clang-doc frontend framework
Julie Hockett via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 19 22:50:38 PST 2018
juliehockett updated this revision to Diff 135009.
juliehockett marked 27 inline comments as done.
juliehockett added a comment.
1. Decoupled the mapper implementation from the main program, exposing only the function to generate the action factory
2. Implemented the matchers into a RecursiveASTVisitor and moved the serializer code into the mapper class
3. Cleaned up string references, templates and overloaded functions
4. Made the record/block id to name mapping an IndexedMap
Still need to address using USRs as the key in the mapper, bitcode versioning, and documentation in each file -- will do that in the morning!
https://reviews.llvm.org/D41102
Files:
CMakeLists.txt
clang-doc/CMakeLists.txt
clang-doc/ClangDoc.h
clang-doc/ClangDocBinary.cpp
clang-doc/ClangDocBinary.h
clang-doc/ClangDocMapper.cpp
clang-doc/ClangDocMapper.h
clang-doc/ClangDocRepresentation.h
clang-doc/tool/CMakeLists.txt
clang-doc/tool/ClangDocMain.cpp
docs/clang-doc.rst
test/CMakeLists.txt
test/clang-doc/mapper-class.cpp
test/clang-doc/mapper-enum.cpp
test/clang-doc/mapper-function.cpp
test/clang-doc/mapper-method.cpp
test/clang-doc/mapper-namespace.cpp
test/clang-doc/mapper-struct.cpp
test/clang-doc/mapper-undefined.cpp
test/clang-doc/mapper-union.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41102.135009.patch
Type: text/x-patch
Size: 66703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180220/8cb37424/attachment-0001.bin>
More information about the cfe-commits
mailing list