Improves output for anonymous decls, and updates the '--public' flag to exclude everything under an anonymous namespace.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
clang-tools-extra/clang-doc/Representation.cpp | ||
---|---|---|
193–216 ↗ | (On Diff #168172) | Nit: Check for Name.empty() early and return Name if it is empty, then have the switch stmt to avoid the repeated conditional expressions. if (!Name.empty()) return Name switch () { case InfoType::IT_namespace: return llvm::SmallString<16>("GlobalNamespace"); ... } |
clang-tools-extra/clang-doc/Serialize.cpp | ||
280 ↗ | (On Diff #168172) | Should this line be Namespace = N->getNameAsString()? |