Go to file
Eric Liu d11fbf523d [clangd] Prefer location from codegen files when merging symbols.
Summary:
For example, if an index symbol has location in a .proto file and an AST symbol
has location in a generated .proto.h file, then we prefer location in .proto
which is more meaningful to users.

Also use `mergeSymbols` to get the preferred location between AST location and index location in go-to-def.

Reviewers: sammccall

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

Tags: #clang

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

llvm-svn: 353708
2019-02-11 15:05:29 +00:00
clang [tools] Fix python DeprecationWarning: invalid escape sequence 2019-02-11 15:03:17 +00:00
clang-tools-extra [clangd] Prefer location from codegen files when merging symbols. 2019-02-11 15:05:29 +00:00
compiler-rt tsan: Implement pthread_exit() interceptor for Thread sanitizer 2019-02-09 22:08:31 +00:00
debuginfo-tests Set config.lit_tools_dir, which is needed by lit.llvm.initialize. 2018-11-06 21:54:27 +00:00
libclc Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
libcxx [libcxx] Preserve order, avoid duplicates when merging static archives 2019-02-11 08:48:47 +00:00
libcxxabi [CMake] Support compiler-rt builtins library in tests 2019-02-05 19:50:47 +00:00
libunwind [CMake] Support compiler-rt builtins library in tests 2019-02-05 19:50:47 +00:00
lld [LLD][ELF] - Update test case after yaml2obj change. NFCI. 2019-02-09 11:34:59 +00:00
lldb Breakpad: auto-detect path style of file entries 2019-02-11 14:11:00 +00:00
llgo Adjust documentation for git migration. 2019-01-29 16:37:27 +00:00
llvm [MCA] Return a mask of busy resources from method ResourceManager::checkAvailability(). NFCI 2019-02-11 14:53:04 +00:00
openmp Guard a feature that unsupported by old GCC 2019-02-08 17:15:50 +00:00
parallel-libs Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
polly [opaque pointer types] Update calls to CreateCall to pass the function 2019-02-08 19:30:46 +00:00
pstl Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
.arcconfig Update monorepo .arcconfig with new project callsign. 2019-01-31 14:34:59 +00:00
.clang-format Add .clang-tidy and .clang-format files to the toplevel of the 2019-01-29 16:43:16 +00:00
.clang-tidy Disable tidy checks with too many hits 2019-02-01 11:20:13 +00:00
README.md

README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.