Serialize namespaces, nested namespaces, and class relationships inside them.
Depends on D157076
Paths
| Differential D158239
[clang][ExtractAPI] Add support for namespaces ClosedPublic Authored by evelez7 on Aug 17 2023, 5:38 PM.
Details
Summary Serialize namespaces, nested namespaces, and class relationships inside them. Depends on D157076
Diff Detail
Event TimelineComment Actions Note that this doesn't handle anonymous namespaces. Similar problems arise with anonymous classes/structs, being worked on.
evelez7 marked an inline comment as done. Comment ActionsMove DetermineParentDecl to determineParentRecord in APIVisitor as a private method. Easier to just let it fetch the record for us and return nullptr if the parent is the translation unit. This revision is now accepted and ready to land.Aug 22 2023, 2:26 AM This revision was landed with ongoing or failed builds.Aug 22 2023, 9:57 AM Closed by commit rG08f034f952fa: [clang][ExtractAPI] Add support for namespaces (authored by evelez7). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 552155 clang/include/clang/ExtractAPI/API.h
clang/include/clang/ExtractAPI/DeclarationFragments.h
clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
clang/include/clang/ExtractAPI/Serialization/SerializerBase.h
clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h
clang/lib/ExtractAPI/API.cpp
clang/lib/ExtractAPI/DeclarationFragments.cpp
clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
clang/test/ExtractAPI/namespace.cpp
clang/test/ExtractAPI/nested_namespaces.cpp
|
Can we get rid of these types of changes to keep the commit history. In general we don't reformat code as part of a bigger patch.