hanchenye-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
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
CodeGen [AVX512] Add FMA intrinsics 2014-08-14 17:17:57 +00:00
CodeGenCUDA
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
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
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
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
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
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
SemaTemplate Limit our MSVC compat hack for nested names from dependent bases 2014-08-14 23:34:52 +00:00
TableGen
Tooling
Unit
VFS
.clang-format
CMakeLists.txt
Makefile
TestRunner.sh
cxx-sections.data
lit.cfg
lit.site.cfg.in
make_test_dirs.pl