[clang-doc] Handle anonymous namespaces
authorJulie Hockett <juliehockett@google.com>
Fri, 28 Jun 2019 19:07:56 +0000 (19:07 +0000)
committerJulie Hockett <juliehockett@google.com>
Fri, 28 Jun 2019 19:07:56 +0000 (19:07 +0000)
commitd900ef0a5b13b8f381280e5a16a0e409980a5bcd
treef7690632810e8273d30107f43cc55e518eca6205
parent70a8027c60fe1f95e8a8a1ff6575ebf8778d3544
[clang-doc] Handle anonymous namespaces

Improves output for anonymous decls, and updates the '--public' flag to exclude everything under an anonymous namespace.

Differential Revision: https://reviews.llvm.org/D52847

llvm-svn: 364674
clang-tools-extra/clang-doc/Representation.cpp
clang-tools-extra/clang-doc/Representation.h
clang-tools-extra/clang-doc/Serialize.cpp
clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
clang-tools-extra/unittests/clang-doc/SerializeTest.cpp