llvm-project/clang/test
Yaxun (Sam) Liu 800f26386c [CUDA][HIP] Fix delete operator for -fopenmp
When new operator is called in OpenMP parallel region,
delete operator is resolved and checked. Due to similar
issue fixed by https://reviews.llvm.org/D121765,
when resolving delete operator, the caller was not
determined correctly, which results in error as
shown in https://godbolt.org/z/jKhd8qKos.

This patch fixes the issue in a similar way as
https://reviews.llvm.org/D121765

Reviewed by: Artem Belevich

Differential Revision: https://reviews.llvm.org/D123976
2022-04-19 14:28:03 -04:00
..
APINotes
ARCMT Use functions with prototypes when appropriate; NFC 2022-02-17 15:33:50 -05:00
AST Reland "[AST] Add a new TemplateKind for template decls found via a using decl."" 2022-04-14 11:04:55 +02:00
ASTMerge Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
Analysis [analyzer] ClangSA should tablegen doc urls refering to the main doc page 2022-04-19 12:14:27 +02:00
CXX Revert "[Concepts] Fix overload resolution bug with constrained candidates" 2022-04-19 07:51:21 -04:00
ClangScanDeps [clang][deps] Ensure deterministic filename case 2022-04-08 09:18:00 +02:00
CodeCompletion Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
CodeGen [SystemZ] Handle SystemZ specific inline assembly address operands. 2022-04-19 16:55:45 +02:00
CodeGenCUDA [CUDA][HIP] Fix gpu.used.external 2022-04-18 23:10:31 -04:00
CodeGenCUDASPIRV [Driver][test] Remove unused/obsoleted REQUIRES: clang-driver 2022-04-12 13:29:46 -07:00
CodeGenCXX Treat `std::move`, `forward`, etc. as builtins. 2022-04-17 13:26:16 -07:00
CodeGenCoroutines [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
CodeGenHIP [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
CodeGenHLSL Add clang DirectX target support 2022-03-28 15:00:50 -05:00
CodeGenObjC [CGCall] Check store type in findDominatingStoreToReturnValue() 2022-04-11 12:08:29 +02:00
CodeGenObjCXX [test] Remove various legacy pass manager tests 2022-04-11 14:02:17 -07:00
CodeGenOpenCL [Clang] Add -no-opaque-pointers to more tests (NFC) 2022-04-07 12:53:29 +02:00
CodeGenOpenCLCXX [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
CodeGenSYCL [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
Coverage [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
CoverageMapping Revert "[InstrProfiling] No runtime hook for unused funcs" 2022-04-06 01:41:44 +00:00
Driver [OpenMP] Make the new offloading driver the default 2022-04-18 15:05:09 -04:00
ExtractAPI [clang][extract-api] Add support for true anonymous enums 2022-04-12 20:42:17 +01:00
FixIt [C89/C2x] Improve diagnostics around strict prototypes in C 2022-04-08 16:19:58 -04:00
Format [clang-format] Allow empty .clang-format file 2022-04-12 21:20:54 -07:00
Frontend [OpenMP] Use new offloading binary when embedding offloading images 2022-04-15 20:35:26 -04:00
Headers [Clang] Add -no-opaque-pointers to more tests (NFC) 2022-04-07 12:53:29 +02:00
Import
Index [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
Integration Use functions with prototypes when appropriate; NFC 2022-02-09 17:16:10 -05:00
InterfaceStubs Use functions with prototypes when appropriate; NFC 2022-02-09 17:16:10 -05:00
Interpreter
Layout
Lexer [clang][lexer] Allow u8 character literal prefixes in C2x 2022-04-19 09:57:51 +02:00
LibClang
Misc [test] Test -Werror=foo -Wfoo & -Werror -Wno-error=foo -Wfoo 2022-04-15 20:14:07 -07:00
Modules [C++20][Modules] Add testcases from section 10.2 dependent on header units. 2022-04-11 11:30:45 +01:00
OpenMP Reapply "[OpenMP] Refactor OMPScheduleType enum." 2022-04-18 21:56:47 -05:00
PCH [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
Parser [C89/C2x] Improve diagnostics around strict prototypes in C 2022-04-08 16:19:58 -04:00
ParserHLSL [HLSL] Add Semantic syntax, and SV_GroupIndex 2022-04-14 10:21:58 -05:00
ParserSYCL
Preprocessor [Driver][test] Remove unused/obsoleted REQUIRES: clang-driver 2022-04-12 13:29:46 -07:00
Profile [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
Refactor Use functions with prototypes when appropriate; NFC 2022-02-12 07:25:06 -05:00
Rewriter [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
Sema [randstruct] Enforce using a designated init for a randomized struct 2022-04-16 23:24:48 -07:00
SemaCUDA [CUDA][HIP] Fix delete operator for -fopenmp 2022-04-19 14:28:03 -04:00
SemaCXX Don't treat 'T &forward(T&&)' as builtin. 2022-04-18 11:11:21 -07:00
SemaHLSL [HLSL] Pointers are unsupported in HLSL 2022-04-14 13:32:51 -05:00
SemaObjC Fix failing test case found by bots: 2022-04-15 09:20:16 -04:00
SemaObjCXX Revert "[clang] roll-forward "[clang] Mark `trivial_abi` types as "trivially relocatable""." 2022-03-23 04:54:00 -07:00
SemaOpenCL [OpenCL] Add device enqueue guards for DSE builtins 2022-04-11 11:27:51 +01:00
SemaOpenCLCXX
SemaSYCL [SYCL] Disallow explicit casts between mismatching address spaces 2022-02-07 11:57:30 +03:00
SemaTemplate [Clang][Sema] Prohibit statement expression in the default argument 2022-04-06 09:28:20 +08:00
TableGen
Templight
Tooling
Unit Use lit_config.substitute instead of foo % lit_config.params everywhere 2022-03-16 09:57:41 +01:00
VFS [VFS] RedirectingFileSystem only replace path if not already mapped 2022-04-11 14:52:48 -07:00
clang-rename
utils/update_cc_test_checks [Clang] Add -no-opaque-pointers to more tests (NFC) 2022-04-07 12:53:29 +02:00
.clang-format
CMakeLists.txt [Driver] Change CLANG_ENABLE_OPAQUE_POINTERS_INTERNAL to affect driver default instead of cc1 default 2022-04-13 16:58:00 -07:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [HLSL][clang][Driver] Support target profile command line option. 2022-04-15 14:18:18 -05:00
lit.site.cfg.py.in [Driver] Change CLANG_ENABLE_OPAQUE_POINTERS_INTERNAL to affect driver default instead of cc1 default 2022-04-13 16:58:00 -07:00
make_test_dirs.pl