hanchenye-llvm-project/clang/unittests
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
..
AST Changed every use of ASTImporter::Import to Import_New 2019-04-08 13:59:15 +00:00
ASTMatchers [clang][OpenMP] Fix another test when using libgomp. 2019-03-21 19:13:22 +00:00
Analysis Fix some clang analysis tests passing arguments incorrectly 2019-03-07 18:57:04 +00:00
Basic Modules: Rename MemoryBufferCache to InMemoryModuleCache 2019-03-09 17:33:56 +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] [PR41170] Break after return type ignored with certain comments positions 2019-04-15 07:47:15 +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 Revert "[Lexer] NFC: Fix an off-by-one bug in getAsCharRange()." 2019-04-05 22:11:28 +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] Propagate preferred type for function arguments in more cases 2019-02-26 11:01:50 +00:00
Serialization Stop relying on allocator behaviour in modules unit test 2019-03-09 20:15:01 +00:00
StaticAnalyzer [analyzer] Enable subcheckers to possess checker options 2019-03-04 00:28:16 +00:00
Tooling [Lookup] Invisible decls should not be ambiguous when renaming. 2019-04-15 08:46:34 +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