| Issue |
161136
|
| Summary |
[clang-doc] Duplicate names of nested namespaces are not handled correctly in JSON
|
| Labels |
clang-doc
|
| Assignees |
|
| Reporter |
evelez7
|
@petrhosek brought this up in #160965: what happens for two namespaces `llvm::tools` and `llvm::clang::tools`? Two separate files should be created since these are two separate namespaces, but clang-doc currently only creates one file and throws away the content of one of the namespaces. This is because clang-doc only uses the name of the namespace and not the full path. For any nested namespace, we should probably use its full path as its name to avoid collisions and use the USR method we use for other filenames in case its too long.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs