[PATCH] D157810: [clang][ExtractAPI] Create extractapi::RecordLocation
Ankur Saini via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 13 02:27:07 PDT 2023
Arsenic created this revision.
Arsenic added a reviewer: dang.
Herald added a reviewer: ributzka.
Herald added a project: All.
Arsenic requested review of this revision.
Herald added subscribers: cfe-commits, wangpc.
Herald added a project: clang.
Create and use extractapi::RecordLocation instead of conventional
clang::PresumedLoc to track the location of an APIRecord, this reduces
the dependency of APISet on SourceManager and would help if someone
wants to create APISet from JSON Serialized SymbolGraph.
These changes also add extractapi::CommentLine which is similar to
RawComment::CommentLine but use RecordLocation instead of PresumedLoc.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D157810
Files:
clang/include/clang/ExtractAPI/API.h
clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
clang/lib/ExtractAPI/API.cpp
clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
clang/tools/libclang/CXExtractAPI.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157810.549690.patch
Type: text/x-patch
Size: 67128 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230813/4a3e302f/attachment-0001.bin>
More information about the cfe-commits
mailing list