llvm-project/clang/test
Richard Smith 625ccb3f78 [modules] Remove some redundant work when building a lookup table for a DeclContext.
When we need to build the lookup table for a DeclContext, we used to pull in
all lexical declarations for the context; instead, just build a lookup table
for the local lexical declarations. We previously didn't guarantee that the
imported declarations would be in the returned map, but in some cases we'd
happen to put them all in there regardless. Now we're even lazier about this.

This unnecessary work was papering over some other bugs:

 - LookupVisibleDecls would use the DC for name lookups in the TU in C, and
   this was not guaranteed to find all imported names (generally, the DC for
   the TU in C is not a reliable place to perform lookups). We now use an
   identifier-based lookup mechanism for this.

 - We didn't actually load in the list of eagerly-deserialized declarations
   when importing a module (so external definitions in a module wouldn't be
   emitted by users of those modules unless they happened to be deserialized
   by the user of the module).

llvm-svn: 232793
2015-03-20 02:17:21 +00:00
..
ARCMT Revert r231008 (and dependent r231019). 2015-03-03 10:02:53 +00:00
ASTMerge
Analysis Enable security checks for arc4random() on CloudABI as well. 2015-03-11 08:48:55 +00:00
CXX C++14: Disable sized deallocation by default due to ABI breakage 2015-03-20 00:31:07 +00:00
CodeCompletion
CodeGen [Modules] Implement __builtin_isinf_sign in Clang. 2015-03-19 22:39:51 +00:00
CodeGenCUDA Test case updates for explicit type parameter to the gep operator 2015-03-13 18:21:46 +00:00
CodeGenCXX C++14: Disable sized deallocation by default due to ABI breakage 2015-03-20 00:31:07 +00:00
CodeGenObjC Test case updates for explicit type parameter to the gep operator 2015-03-13 18:21:46 +00:00
CodeGenObjCXX Add a bunch of missing "CHECK" colons in tests. NFC. 2015-03-14 01:10:19 +00:00
CodeGenOpenCL Test case updates for explicit type parameter to the gep operator 2015-03-13 18:21:46 +00:00
Coverage clang/test/Coverage/html-diagnostics.c: Use find(1) to avoid globbing. 2014-11-04 13:05:10 +00:00
CoverageMapping Test case updates for explicit type parameter to the gep operator 2015-03-13 18:21:46 +00:00
Driver Allow -fsanitize-coverage with -fsanitize=dataflow 2015-03-20 00:06:52 +00:00
FixIt Add a bunch of missing "CHECK" colons in tests. NFC. 2015-03-14 01:10:19 +00:00
Format
Frontend Fix typo in my last commit. 2015-03-03 00:12:08 +00:00
Headers Add builtins for the 64-bit vector integer arithmetic instructions added in POWER8. 2015-03-11 15:57:19 +00:00
Index [libclang] Fix crash when code-completing inside constructor initializer for a builtin type. 2015-03-13 07:39:30 +00:00
Integration
Layout PR6037 2015-01-19 01:44:02 +00:00
Lexer C++14: Disable sized deallocation by default due to ABI breakage 2015-03-20 00:31:07 +00:00
Misc Fix -ast-dump of dependent new and delete exprs 2015-03-19 18:47:47 +00:00
Modules [modules] Remove some redundant work when building a lookup table for a DeclContext. 2015-03-20 02:17:21 +00:00
OpenMP [OPENMP] Fixed bug in codegen of 'atomic write'. 2015-03-19 08:44:10 +00:00
PCH Try to unbreak the Windows buildbots. 2015-03-03 23:36:57 +00:00
Parser Parse: Don't assume tokens have a length 2015-03-19 00:10:23 +00:00
Preprocessor Lex: Don't call getIdentifierInfo on annotation tokens 2015-03-18 07:53:20 +00:00
Profile Test case updates for explicit type parameter to the gep operator 2015-03-13 18:21:46 +00:00
Rewriter Add a bunch of missing "CHECK" colons in tests. NFC. 2015-03-14 01:10:19 +00:00
Sema Correct typos in C11 generic-selection expressions. 2015-03-19 20:56:07 +00:00
SemaCUDA Ignore device-side asm constraint errors while compiling CUDA code for host and vice versa. 2015-03-19 18:40:25 +00:00
SemaCXX When cloning LocalInstantiationScope's, don't update the current scope in Sema. 2015-03-18 21:52:47 +00:00
SemaObjC Add -Wpartial-availability. 2015-03-19 19:18:22 +00:00
SemaObjCXX Recognize objc_bridge(id) on bridged casts to CF types. 2015-03-10 18:41:23 +00:00
SemaOpenCL Restores r228382, which was reverted in r228406. 2015-02-25 05:48:23 +00:00
SemaTemplate Revert "Improve declaration / expression disambiguation around ptr-operators, and use" 2015-02-23 22:36:28 +00:00
TableGen
Tooling Remove "REQUIRES:shell" from tests. They work for me. 2014-11-04 13:41:33 +00:00
Unit
VFS DebugInfo: Move new hierarchy into place (clang) 2015-03-03 17:25:55 +00:00
.clang-format
CMakeLists.txt Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
Makefile Fix makefile for debuginfo-tests execution. 2014-10-17 23:50:47 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Check for backtraces in tests which are verifying pretty stack traces from a crashing clang. 2015-02-10 19:53:38 +00:00
lit.site.cfg.in Check for backtraces in tests which are verifying pretty stack traces from a crashing clang. 2015-02-10 19:53:38 +00:00
make_test_dirs.pl