llvm-project/clang-tools-extra
Kadir Cetinkaya 748211a81f [clangd] Only report explicitly typed symbols during code navigation
Summary:
Clangd was reporting implicit symbols, like results of implicit cast
expressions during code navigation, which is not desired. For example:

```
struct Foo{ Foo(int); };
void bar(Foo);
vod foo() {
  int x;
  bar(^x);
}
```
Performing a GoTo on the point specified by ^ would give two results one
pointing to line `int x` and the other for definition of `Foo(int);`

Reviewers: ilya-biryukov, sammccall

Subscribers: ioeric, MaskRay, jkorous, mgrang, arphaman, cfe-commits

Tags: #clang

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

llvm-svn: 354585
2019-02-21 14:48:33 +00:00
..
change-namespace Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
clang-apply-replacements Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
clang-doc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
clang-move Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
clang-query Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
clang-reorder-fields Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
clang-tidy Attempt to fix VS2015 build breakage from r354517. NFCI. 2019-02-21 04:55:31 +00:00
clang-tidy-vs Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
clangd [clangd] Only report explicitly typed symbols during code navigation 2019-02-21 14:48:33 +00:00
docs [clang-tidy] Fix links in docs. 2019-02-18 12:50:35 +00:00
include-fixer Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
modularize Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
pp-trace Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
test [clang-tidy] Make google-objc-function-naming ignore implicit functions 🙈 2019-02-21 00:34:01 +00:00
tool-template Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
unittests [clangd] Only report explicitly typed symbols during code navigation 2019-02-21 14:48:33 +00:00
.arcconfig [clang-tools-extra] Set up .arcconfig to point to new Diffusion CTE repository 2017-11-27 15:58:25 +00:00
.gitignore
CMakeLists.txt [clangd] XPC transport layer 2019-01-16 00:24:22 +00:00
CODE_OWNERS.TXT Remove myself as owner of clang-query. 2018-11-15 22:02:10 +00:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
README.txt

README.txt

//===----------------------------------------------------------------------===//
// Clang Tools repository
//===----------------------------------------------------------------------===//

Welcome to the repository of extra Clang Tools.  This repository holds tools
that are developed as part of the LLVM compiler infrastructure project and the
Clang frontend.  These tools are kept in a separate "extra" repository to
allow lighter weight checkouts of the core Clang codebase.

This repository is only intended to be checked out inside of a full LLVM+Clang
tree, and in the 'tools/extra' subdirectory of the Clang checkout.

All discussion regarding Clang, Clang-based tools, and code in this repository
should be held using the standard Clang mailing lists:
  http://lists.llvm.org/mailman/listinfo/cfe-dev

Code review for this tree should take place on the standard Clang patch and
commit lists:
  http://lists.llvm.org/mailman/listinfo/cfe-commits

If you find a bug in these tools, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/