hanchenye-llvm-project/clang/lib
Eric Liu dc8d8fb20b [Lookup] Invisible decls should not be ambiguous when renaming.
Summary:
For example, a renamed type in a header file can conflict with declaration in
a random file that includes the header, but we should not consider the decl ambiguous if
it's not visible at the rename location. This improves consistency of generated replacements
when header file is included in different TUs.

Reviewers: hokein

Subscribers: cfe-commits

Tags: #clang

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

llvm-svn: 358378
2019-04-15 08:46:34 +00:00
..
ARCMigrate Range-style std::find{,_if} -> llvm::find{,_if}. NFC 2019-03-31 08:48:19 +00:00
AST [AST][NFC] Add const children() accessors to all AST nodes 2019-04-12 15:36:02 +00:00
ASTMatchers [ASTMatchers][OpenMP] OpenMP Structured-block-related matchers 2019-03-21 15:33:35 +00:00
Analysis Thread Safety: also look at ObjC methods 2019-03-25 20:06:32 +00:00
Basic [C++20] Implement context-sensitive header-name lexing and pp-import parsing in the preprocessor. 2019-04-11 21:18:23 +00:00
CodeGen Relanding r357928 with fixed debuginfo check. 2019-04-12 20:25:30 +00:00
CrossTU Changed every use of ASTImporter::Import to Import_New 2019-04-08 13:59:15 +00:00
Driver [c++20] Enable driver and frontend support for building and using 2019-04-14 11:11:37 +00:00
Edit Range-style std::find{,_if} -> llvm::find{,_if}. NFC 2019-03-31 08:48:19 +00:00
Format [clang-format] [PR41170] Break after return type ignored with certain comments positions 2019-04-15 07:47:15 +00:00
Frontend [c++20] Enable driver and frontend support for building and using 2019-04-14 11:11:37 +00:00
FrontendTool [analyzer][NFC] Supply CheckerRegistry with AnalyzerOptions 2019-01-26 15:59:21 +00:00
Headers Move the builtin headers to use the new license file header. 2019-04-08 20:51:30 +00:00
Index Range-style std::find{,_if} -> llvm::find{,_if}. NFC 2019-03-31 08:48:19 +00:00
Lex [c++20] Parsing support for module-declarations, import-declarations, 2019-04-14 08:06:59 +00:00
Parse [c++20] Enable driver and frontend support for building and using 2019-04-14 11:11:37 +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 [c++20] Parsing support for module-declarations, import-declarations, 2019-04-14 08:06:59 +00:00
Serialization Range-style std::find{,_if} -> llvm::find{,_if}. NFC 2019-03-31 08:48:19 +00:00
StaticAnalyzer [analyzer] Escape pointers stored into top-level parameters with destructors. 2019-04-13 02:01:45 +00:00
Tooling [Lookup] Invisible decls should not be ambiguous when renaming. 2019-04-15 08:46:34 +00:00
CMakeLists.txt