llvm-project/clang/test
Nico Weber ae4bb8c8f4 Make sure that vtables referenced from delay-parsed templates get referenced.
This fixes PR20671, see the bug for details. In short, ActOnTranslationUnit()
calls DefineUsedVTables() and only then PerformPendingInstantiations(). But
PerformPendingInstantiations() is what does delayed template parsing, so
vtables only references from late-parsed templates weren't marked used.

As a fix, move the SavePendingInstantiationsAndVTableUsesRAII in
PerformPendingInstantiations() up above the delayed template parsing code.
That way, vtables referenced from templates end up in the RAII object, and the
call to DefineUsedVTables() in PerformPendingInstantiations() marks them used.

llvm-svn: 215786
2014-08-15 23:21:41 +00:00
..
ARCMT [analyzer] Check for NULL passed to CFAutorelease. 2014-06-21 23:50:40 +00:00
ASTMerge
Analysis Work around missing handling of temporaries bound to default arguments. 2014-08-13 15:25:55 +00:00
CXX Reject varargs '...' in function prototype if there are more parameters after 2014-08-11 23:30:23 +00:00
CodeCompletion When completing Objective-C instance method invocations, perform a contextual conversion to an Objective-C pointer type of the target expression if needed. This fixes code completion of method invocations where the target is a smart pointer that has an explicit conversion operator to an Objective-C type. 2014-02-28 19:07:22 +00:00
CodeGen [AVX512] Add FMA intrinsics 2014-08-14 17:17:57 +00:00
CodeGenCUDA Move all CUDA testing inputs to Inputs/ subdirectory inside the tests. 2014-04-28 22:21:28 +00:00
CodeGenCXX Make sure that vtables referenced from delay-parsed templates get referenced. 2014-08-15 23:21:41 +00:00
CodeGenObjC Objective-C. Fixes an assert where because of captured 2014-08-12 15:51:49 +00:00
CodeGenObjCXX Objective-C ARC. Use of non-retain/autorelease API 2014-08-08 17:31:14 +00:00
CodeGenOpenCL R600: Add ldexp intrinsic 2014-08-15 17:44:32 +00:00
Coverage Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
Driver Use a valid arch name in this triple. 2014-08-15 16:55:25 +00:00
FixIt Objective-C [qoi]. Patch to not do Fix-It for fixing 2014-08-12 22:16:41 +00:00
Format Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
Frontend clang/test/Frontend/print-header-includes.c REQUIRES shell due to "cd". 2014-08-12 09:31:27 +00:00
Headers Add a module cache path to test/Headers/cxx11 2014-08-12 16:42:25 +00:00
Index clang/test/Index/index-module.m: Tweak expressions to meet dos path on win32. 2014-08-13 22:14:49 +00:00
Integration Split out header integration tests 2014-05-04 13:00:32 +00:00
Layout AST: Propagate 'AlignIsRequired' though many levels of typedefs 2014-08-04 05:11:01 +00:00
Lexer Don't destroy MacroInfos if we find the macro definition is invalid; it'll get 2014-08-03 23:41:04 +00:00
Misc Adding some test cases to test attribute-related source range diagnostics. This augments r214722, r214723 and r214507. 2014-08-12 14:00:40 +00:00
Modules [modules] Turn off a broken optimization: we need to pick up implicit special 2014-08-14 20:30:52 +00:00
OpenMP [OPENMP] Improved DSA processing of the loop control variables for loop directives. 2014-07-25 06:27:47 +00:00
PCH Modify behavior of -ast-dump-lookups: if -ast-dump is not also provided, dump 2014-08-11 22:11:07 +00:00
Parser Sema: Permit nullptr template args in MSVC compat mode 2014-08-14 00:49:23 +00:00
Preprocessor Don't Lex past EOF when lexing _Pragma 2014-08-14 19:47:06 +00:00
Profile InstrProf: Update for LLVM API change 2014-08-01 22:50:16 +00:00
Rewriter Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Sema Delete support for AuroraUX. 2014-08-14 15:14:51 +00:00
SemaCUDA Automate attribute argument count semantic checking when there are variadic or optional arguments present. With this, the only time you should have to manually check attribute argument counts is when HasCustomParsing is set to true, or when you have variadic arguments that aren't really variadic (like ownership_holds and friends). 2014-07-31 16:37:04 +00:00
SemaCXX Thread Safety Analysis: Move -Wthread-safety-negative out of the 2014-08-14 21:54:34 +00:00
SemaObjC Objective-C. Do not warn if user is using property-dox syntax to name a 2014-08-15 17:39:00 +00:00
SemaObjCXX Allow @synchronized to contextually convert a C++ object to an ObjC object pointer. 2014-08-12 16:20:36 +00:00
SemaOpenCL [OpenCL] Reject reqd_work_group_size(X, Y, Z) where X, Y or Z == 0. 2014-05-19 14:41:38 +00:00
SemaTemplate Limit our MSVC compat hack for nested names from dependent bases 2014-08-14 23:34:52 +00:00
TableGen
Tooling clang/test: Introduce the feature "staticanalyzer" for --enable-clang-static-analyzer. 2014-07-16 12:05:45 +00:00
Unit Let test/Unit/lit.cfg add config.shlibdir to $PATH on DLL platforms like cygming. 2014-07-04 05:11:55 +00:00
VFS Make -Wincomplete-umbrella go through the VFS 2014-06-25 23:53:43 +00:00
.clang-format
CMakeLists.txt Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
lit.site.cfg.in Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
make_test_dirs.pl