diff options
Diffstat (limited to 'clang-tools-extra/clang-doc/Representation.cpp')
-rw-r--r-- | clang-tools-extra/clang-doc/Representation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-doc/Representation.cpp b/clang-tools-extra/clang-doc/Representation.cpp index 27af2d8f356..e5e70331fdf 100644 --- a/clang-tools-extra/clang-doc/Representation.cpp +++ b/clang-tools-extra/clang-doc/Representation.cpp @@ -118,6 +118,8 @@ void Info::mergeBase(Info &&Other) { USR = Other.USR; if (Name == "") Name = Other.Name; + if (Path == "") + Path = Other.Path; if (Namespace.empty()) Namespace = std::move(Other.Namespace); // Unconditionally extend the description, since each decl may have a comment. |