llvm-project/clang-tools-extra/unittests
Diego Astiazaran 15e468e0d5 [clang-doc] Fix link generation
Before making a link to a reference it is required to check that the
reference has a path (eg. primitives won't have paths).
This was done by checking if the path was empty; that worked because
when generating paths the outdirectory was included, so if the path was
assigned it had that outdirectory at least.
The path generation was changed, it's now only the composite of the
namespaces without the outdirectory. So if the info is in the global
namespace the path would be empty and the old check wouldn't work as expected.
A new attribute has been added to the Reference struct that indicates if
the info's parent is the global namespace.
Paths generation now fails if the path is empty and if the info
is not in the global namespace.

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

llvm-svn: 367958
2019-08-06 00:11:34 +00:00
..
clang-apply-replacements Rename clangToolingRefactor to clangToolingRefactoring for consistency with its directory 2019-05-25 00:27:19 +00:00
clang-change-namespace Rename IncludeFixerTests to ClangIncludeFixerTests and ChangeNamespaceTests to ClangChangeNamespaceTests 2019-03-30 23:09:10 +00:00
clang-doc [clang-doc] Fix link generation 2019-08-06 00:11:34 +00:00
clang-include-fixer Rename IncludeFixerTests to ClangIncludeFixerTests and ChangeNamespaceTests to ClangChangeNamespaceTests 2019-03-30 23:09:10 +00:00
clang-move Fix clang-move test. 2019-03-22 18:52:10 +00:00
clang-query Fix file headers. NFC 2019-03-01 09:52:53 +00:00
clang-tidy Replace CRLF with LF. 2019-07-17 08:31:51 +00:00
include/common Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt [clangd] Move clangd tests to clangd directory. check-clangd is no longer part of check-clang-tools. 2019-04-29 08:44:01 +00:00