llvm-project/clang-tools-extra/unittests
Eric Liu 4d814a93e5 [clangd] Canonicalize file path in URIForFile.
Summary:
File paths in URIForFile can come from index or local AST. Path from
index goes through URI transformation and the final path is resolved by URI
scheme and could be potentially different from the original path. Hence, we
should do the same transformation for all paths. We do this in URIForFile, which
now converts a path to URI and back to a canonicalized path.

Reviewers: sammccall

Reviewed By: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits

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

llvm-svn: 347739
2018-11-28 10:30:42 +00:00
..
change-namespace [change-namespace] Enhance detection of conflicting namespaces. 2018-10-22 12:48:49 +00:00
clang-apply-replacements [clang-apply-replacements] Convert tooling::Replacements to tooling::AtomicChange for conflict resolving of changes, code cleanup, and code formatting. 2018-04-11 14:39:17 +00:00
clang-doc [Support] Teach YAMLIO about polymorphic types 2018-11-14 19:39:59 +00:00
clang-move [clang-move] Dump whether a declaration is templated. 2018-10-08 17:22:50 +00:00
clang-query [clang-query] Add non-exclusive output API 2018-10-29 18:59:56 +00:00
clang-tidy [clang-tidy] Untangle layering in ClangTidyDiagnosticConsumer somewhat. NFC 2018-11-08 17:42:16 +00:00
clangd [clangd] Canonicalize file path in URIForFile. 2018-11-28 10:30:42 +00:00
include/common Remove clang-modernize. 2015-12-17 11:49:19 +00:00
include-fixer Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
CMakeLists.txt [clang-doc] Add unit tests for serialization 2018-10-16 23:06:42 +00:00