llvm-project/clang/unittests
Kadir Cetinkaya 936c67d3ef [clang][HeaderSuggestion] Handle the case of dotdot with an absolute path
Summary:
Include insertion in clangd was inserting absolute paths when the
include directory was an absolute path with a double dot. This patch makes sure
double dots are handled both with absolute and relative paths.

Reviewers: sammccall

Subscribers: ilya-biryukov, ioeric, jkorous, arphaman, cfe-commits

Tags: #clang

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

llvm-svn: 359078
2019-04-24 09:23:31 +00:00
..
AST Changed every use of ASTImporter::Import to Import_New 2019-04-08 13:59:15 +00:00
ASTMatchers [ASTMatchers] Introduce Objective-C matchers `isClassMessage`, `isClassMethod`, and `isInstanceMethod` 2019-04-22 17:54:11 +00:00
Analysis Fix some clang analysis tests passing arguments incorrectly 2019-03-07 18:57:04 +00:00
Basic [FileSystemStatCache] Update test for new FileSystemStatCache API 2019-04-16 18:00:43 +00:00
CodeGen Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CrossTU Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Driver Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Format [clang-format] Fix bug in reflow of block comments containing CR/LF 2019-04-23 20:29:46 +00:00
Frontend Modules: Add LangOptions::CacheGeneratedPCH 2019-03-12 18:38:04 +00:00
Index [clang][Index] Fix msan failure 2019-03-08 10:18:40 +00:00
Lex [clang][HeaderSuggestion] Handle the case of dotdot with an absolute path 2019-04-24 09:23:31 +00:00
Rename Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Rewrite Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Sema [CodeComplete] Remove obsolete isOutputBinary(). 2019-04-18 17:35:55 +00:00
Serialization Stop relying on allocator behaviour in modules unit test 2019-03-09 20:15:01 +00:00
StaticAnalyzer Add header guard to Reusables.h [NFC] 2019-04-19 00:42:54 +00:00
Tooling [LibTooling] Fix -Wsign-compare after r358697 2019-04-19 09:10:42 +00:00
libclang Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt Modules: Rename MemoryBufferCache to InMemoryModuleCache 2019-03-09 17:33:56 +00:00