llvm-project/clang/lib
Haojian Wu 7276a446ce [clangd] Narrow rename to local symbols.
Summary:
Previously, we performed rename for all kinds of symbols (local, global).

This patch narrows the scope by only renaming symbols not being used
outside of the main file (with index asisitance). Renaming global
symbols is not supported at the moment (return an error).

Reviewers: sammccall

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

Tags: #clang

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

llvm-svn: 364283
2019-06-25 08:43:17 +00:00
..
ARCMigrate [PlistSupport] Produce a newline to end plist output files 2019-06-10 22:30:57 +00:00
AST [ASTImporter] Store import errors for Decls 2019-06-25 08:00:51 +00:00
ASTMatchers Revert "[clang] Fixing windows buildbot after D61552" 2019-06-20 10:34:02 +00:00
Analysis [analyzer] print() JSONify: ProgramPoint revision 2019-06-24 16:19:39 +00:00
Basic AMDGPU: Fix target builtins for gfx10 2019-06-22 01:30:00 +00:00
CodeGen [cxx2a] P1236R1: the validity of a left shift does not depend on the 2019-06-25 01:45:26 +00:00
CrossTU [ASTImporter] Use llvm::Expected and Error in the importer API 2019-05-15 10:29:48 +00:00
Driver [RISC-V] Add -msave-restore and -mno-save-restore to clang driver 2019-06-21 10:03:31 +00:00
Edit Range-style std::find{,_if} -> llvm::find{,_if}. NFC 2019-03-31 08:48:19 +00:00
Format clang-format: better handle namespace macros 2019-06-06 20:06:23 +00:00
Frontend [clang-scan-deps] print the dependencies to stdout 2019-06-21 18:24:55 +00:00
FrontendTool [clang-ifs] Clang Interface Stubs, first version (second landing attempt). 2019-06-20 16:59:48 +00:00
Headers [OpenCL] Restore ATOMIC_VAR_INIT 2019-06-24 10:06:40 +00:00
Index [clang][AST] ASTNameGenerator: A refactoring of CodegenNameGeneratorImpl (NFC). 2019-06-19 20:51:35 +00:00
Lex Fix __has_cpp_attribute expansion to produce trailing L and (where 2019-06-21 20:20:21 +00:00
Parse P0840R2: support for [[no_unique_address]] attribute 2019-06-20 20:44:45 +00:00
Rewrite [analyzer] [NFC] PathDiagnostic: Create PathDiagnosticPopUpPiece 2019-05-29 19:21:59 +00:00
Sema [cxx2a] P1236R1: the validity of a left shift does not depend on the 2019-06-25 01:45:26 +00:00
Serialization [clang] Add storage for APValue in ConstantExpr 2019-06-15 10:24:47 +00:00
StaticAnalyzer [analyzer] print() JSONify: Create pointers 2019-06-25 03:17:55 +00:00
Tooling [clangd] Narrow rename to local symbols. 2019-06-25 08:43:17 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00