This relands the changes that were originally introduced by:
This also fixes the leak that led to these changes being reverted
Paths
| Differential D147234
[clang][ExtractAPI] Reland ExtractAPI for libclang improvements ClosedPublic Authored by dang on Mar 30 2023, 7:06 AM.
Details Summary This relands the changes that were originally introduced by: This also fixes the leak that led to these changes being reverted
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 30 2023, 10:13 AM Closed by commit rG142c3d9d1414: [clang][ExtractAPI] Reland ExtractAPI for libclang improvements (authored by dang). · Explain WhyMar 30 2023, 10:14 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 509714 clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
clang/include/clang/ExtractAPI/TypedefUnderlyingTypeResolver.h
clang/lib/ExtractAPI/CMakeLists.txt
clang/lib/ExtractAPI/DeclarationFragments.cpp
clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
clang/lib/ExtractAPI/ExtractAPIVisitor.cpp
clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
clang/lib/ExtractAPI/TypedefUnderlyingTypeResolver.h
clang/lib/ExtractAPI/TypedefUnderlyingTypeResolver.cpp
clang/test/Index/extract-api-cursor.m
clang/test/Index/extract-api-usr.m
clang/tools/c-index-test/c-index-test.c
clang/tools/libclang/CXExtractAPI.cpp
|
The previous version didn't free the string here which was the source of the leak @hctim