llvm-project/clang/test
Eli Bendersky 9a220fca4a CUDA: Fix incorrect target inference for implicit members.
As PR20495 demonstrates, Clang currenlty infers the CUDA target (host/device,
etc) for implicit members (constructors, etc.) incorrectly. This causes errors
and even assertions in Clang when compiling code (assertions in C++11 mode where
implicit move constructors are added into the mix).

Fix the problem by inferring the target from the methods the implicit member
should call (depending on its base classes and fields).

llvm-svn: 218624
2014-09-29 20:38:29 +00:00
..
ARCMT Objective-C SDK modernizer. Do not modernize an enum 2014-09-15 16:41:47 +00:00
ASTMerge
Analysis [analyzer] Fix pthread lock tests so that the API comes from a system header. 2014-09-10 16:17:42 +00:00
CXX Tests for DR600-640. 2014-09-29 06:03:56 +00:00
CodeCompletion
CodeGen clang/test/CodeGen/builtin-assume-aligned.c: Fix for -Asserts. 2014-09-26 09:37:15 +00:00
CodeGenCUDA Move all CUDA testing inputs to Inputs/ subdirectory inside the tests. 2014-04-28 22:21:28 +00:00
CodeGenCXX Fix bug 20116 - http://llvm.org/bugs/show_bug.cgi?id=20116 2014-09-29 10:32:21 +00:00
CodeGenObjC Allow protocols to be just declared. 2014-09-12 20:14:20 +00:00
CodeGenObjCXX Fix an assertion failure trying to emit a trivial destructor in ObjC++ 2014-09-26 15:27:29 +00:00
CodeGenOpenCL Driver: Implement -cl-denorms-are-zero 2014-08-21 13:58:36 +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
CoverageMapping Coverage Mapping: store function's hash in coverage function records. 2014-08-21 19:25:27 +00:00
Driver Don't link in sanitizer runtimes if -nostdlib/-nodefaultlibs is provided. 2014-09-26 21:22:08 +00:00
FixIt Suggest fix-it for missing '{' after base-clause 2014-09-25 21:13:02 +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 This test was updated in r216397, but was failing on Windows due to mixed path separators as well as case sensitivity of the "no" in "no such file or directory." Rather than revert this file back to its original form, I've made some incredibly ugly regexes so that it will pass everywhere. 2014-08-26 14:09:25 +00:00
Headers Fix bugs in cpuid.h. 2014-09-20 01:31:09 +00:00
Index Add ubsan/not_ubsan features to Clang lit tests and use 2014-09-03 19:46:32 +00:00
Integration Split out header integration tests 2014-05-04 13:00:32 +00:00
Layout MS ABI: Pure virtual functions don't contribute to vtordisps 2014-09-23 22:58:15 +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 Objective-C [qoi] - provide group name for 2014-09-29 20:17:04 +00:00
Modules PR19692: Add (passing) regression test. 2014-09-15 22:14:48 +00:00
OpenMP [OPENMP] Parsing/Sema of directive omp parallel for simd 2014-09-23 09:33:00 +00:00
PCH Follow-up to r218292: Add more REVERTIBLE_TYPE_TRAITs. 2014-09-24 03:28:54 +00:00
Parser Suggest fix-it for missing '{' after base-clause 2014-09-25 21:13:02 +00:00
Preprocessor [x86] Enable broadwell target in clang. 2014-09-19 09:53:48 +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 Support the assume_aligned function attribute 2014-09-26 05:04:30 +00:00
SemaCUDA CUDA: Fix incorrect target inference for implicit members. 2014-09-29 20:38:29 +00:00
SemaCXX Add the tests for __super that I forgot to commit in as part of r218484. 2014-09-29 01:11:55 +00:00
SemaObjC Objective-C. Under a special flag, -Wcstring-format-directive, 2014-09-11 19:13:23 +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 Revert r217995 and follow-ups: 2014-09-18 16:01:32 +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 pass environment when invoking llvm-config and clang from lit.cfg 2014-09-24 18:37:52 +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