llvm-project/clang/test
Reid Kleckner e502507d34 MSVCCompat: Don't produce an invalid AST when accepting void pseudo-dtors
We accept 'void *p; p->~void();' for MSVC compatibility since r148682.
However, we were returning ExprError, rather than producing an AST,
despite only diagnosing it with a warning.  CodeGen noticed that the
template function specialization had an invalid AST, and therefore
didn't generate code for it.  This change makes us produce an AST with a
void pseudo-dtor call.

Part of PR18256.

llvm-svn: 207771
2014-05-01 16:50:23 +00:00
..
ARCMT Fix "regression" caused by updating our notion of POD to better match the C++11 2014-01-11 00:53:35 +00:00
ASTMerge Ignore test Inputs globally and remove redundant lit.local.cfg files 2013-11-15 13:37:49 +00:00
Analysis [analyzer] Improve test from r207486. 2014-04-29 17:08:17 +00:00
CXX Sema: Implement DR477 2014-04-30 18:24:01 +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 [ARM64] Port remaining relevant AArch64 clang tests over to ARM64 2014-04-30 10:52:05 +00:00
CodeGenCUDA Move all CUDA testing inputs to Inputs/ subdirectory inside the tests. 2014-04-28 22:21:28 +00:00
CodeGenCXX MSVCCompat: Don't produce an invalid AST when accepting void pseudo-dtors 2014-05-01 16:50:23 +00:00
CodeGenObjC Make test independent of label. Thanks to Richard Smith for catching this! 2014-04-29 02:27:33 +00:00
CodeGenObjCXX Objective-C++ IRGen. Due to change to AST for initialization of c++11’s 2014-03-14 15:40:54 +00:00
CodeGenOpenCL Bug 18567: Fix constantexpr pointer casts with address spaces. 2014-04-17 17:45:37 +00:00
Coverage Skip this test when using lit integrated shell 2013-10-25 22:30:07 +00:00
Driver Android uses -fpic for arm64 as well. 2014-04-30 12:18:12 +00:00
FixIt Refactor all the checking for missing 'template<>'s when a declaration has a 2014-04-17 03:29:33 +00:00
Format clang-format: Explicitly set fallback style that is tested. 2013-12-03 06:48:41 +00:00
Frontend Support 'remark' in VerifyDiagnosticConsumer 2014-05-01 14:06:01 +00:00
Headers Add a triple to new test. 2014-04-30 04:54:42 +00:00
Index [libclang] Add attribute support for 'pure', 'const' and 'noduplicate'. 2014-05-01 15:41:58 +00:00
Layout Fix warning in ms-x86-vtordisp test case 2014-04-14 23:49:17 +00:00
Lexer Add some missing checks for C++1y digit separators that don't in fact separate 2014-04-22 23:50:25 +00:00
Misc Put macro redefinition warnings under -Wmacro-redefined 2014-04-04 00:17:16 +00:00
Modules Defer loading any pending update records until we've finished deserializing. 2014-04-30 02:24:17 +00:00
OpenMP [OPENMP] parsing 'linear' clause (for directive 'omp simd') 2014-04-22 13:09:42 +00:00
PCH [PCH/Modules] Don't tie TargetOptions::LinkerVersion to a module/PCH, it's a driver only thing and doesn't affect any language/preprocessor/etc. semantics. 2014-04-29 18:45:01 +00:00
Parser Print detailed vector type information on diagnostics. 2014-04-25 20:41:38 +00:00
Preprocessor do not warn about unknown pragmas in modes that do not handle them (pr9537) 2014-05-01 12:54:03 +00:00
Profile CodeGen: Avoid instrumenting implicit Decls more effectively 2014-04-25 07:20:05 +00:00
Rewriter Reorganize and improve semantic tests for dllexport/import 2014-02-22 19:47:30 +00:00
Sema __thread: Move constant init check to CheckCompleteVariableDeclaration 2014-04-30 17:10:18 +00:00
SemaCUDA Move all CUDA testing inputs to Inputs/ subdirectory inside the tests. 2014-04-28 22:21:28 +00:00
SemaCXX Add support for __declspec(thread) under -fms-extensions 2014-05-01 03:16:47 +00:00
SemaObjC Objective-C. Improve diagnosis of bridging types. 2014-04-29 16:12:56 +00:00
SemaObjCXX Objective-C. Improve diagnosis of bridging types. 2014-04-29 16:12:56 +00:00
SemaOpenCL Print detailed vector type information on diagnostics. 2014-04-25 20:41:38 +00:00
SemaTemplate PR19340: If we see a declaration of a member of an unspecialized class template 2014-04-17 03:52:20 +00:00
TableGen
Tooling Adding a win32-targeted test into Tooling/multi-jobs.cpp, to make sure it doesn't get broken again 2013-12-18 18:55:36 +00:00
Unit libclang: fix a bug in processing invalid arguments, introduced in r201249 2014-02-18 15:20:02 +00:00
VFS When module umbrellas change, rebuild them 2014-04-10 17:57:43 +00:00
.clang-format Add .clang-format without column limit to subdirectory tests/. 2013-11-08 06:45:35 +00:00
CMakeLists.txt test: Use llvm-profdata merge in Profile tests 2014-04-17 22:49:06 +00:00
Makefile Reverting because reverting r200145. 2014-01-27 22:57:33 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Add test case for revision 207575 to verify that on Windows, clang doesn't 2014-04-29 20:19:13 +00:00
lit.site.cfg.in test: Fix feature test for "native" in lit.cfg 2014-03-11 04:34:17 +00:00
make_test_dirs.pl