[PATCH] D119479: [clang][extract-api] Add global record support
Zixu Wang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 15 18:36:44 PDT 2022
zixuw updated this revision to Diff 415658.
zixuw added a comment.
- Address reviews
- Add and handle unconditionally unavailable
- Delete the default constructor of `APIRecord`
- Make `APIRecord` abstract for LLVM RTTI
- Improve `getFormattedText` and `getFormattedLines`
- Fix wordings in serializer to conform to the SymbolGraph format
- Remove unnecessary `explicit` keyword
- Use clang with full version info for the `generator` field
- Adjust test case
- Make it obvious that the `USR` parameter will be copied in `add*` APIs
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119479/new/
https://reviews.llvm.org/D119479
Files:
clang/include/clang/AST/RawCommentList.h
clang/include/clang/Frontend/FrontendActions.h
clang/include/clang/SymbolGraph/API.h
clang/include/clang/SymbolGraph/AvailabilityInfo.h
clang/include/clang/SymbolGraph/DeclarationFragments.h
clang/include/clang/SymbolGraph/FrontendActions.h
clang/include/clang/SymbolGraph/Serialization.h
clang/lib/AST/RawCommentList.cpp
clang/lib/CMakeLists.txt
clang/lib/Frontend/CMakeLists.txt
clang/lib/Frontend/ExtractAPIConsumer.cpp
clang/lib/FrontendTool/CMakeLists.txt
clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
clang/lib/SymbolGraph/API.cpp
clang/lib/SymbolGraph/CMakeLists.txt
clang/lib/SymbolGraph/DeclarationFragments.cpp
clang/lib/SymbolGraph/ExtractAPIConsumer.cpp
clang/lib/SymbolGraph/Serialization.cpp
clang/test/Driver/extract-api.c
clang/test/SymbolGraph/global_record.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119479.415658.patch
Type: text/x-patch
Size: 72658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220316/7dd86ad8/attachment-0001.bin>
More information about the cfe-commits
mailing list