llvm-project/clang/test
Chuanqi Xu 9c04851cf5 [C++20] [Module] Support reachable definition initially/partially
This patch introduces a new kind of ModuleOwnershipKind as
ReachableWhenImported. This intended the status for reachable described
at: https://eel.is/c++draft/module.reach#3.

Note that this patch is not intended to support all semantics about
reachable semantics. For example, this patch didn't implement discarded
declarations in GMF. (https://eel.is/c++draft/module.global.frag#3).

This fixes: https://bugs.llvm.org/show_bug.cgi?id=52281 and
https://godbolt.org/z/81f3ocjfW.

Reviewed By: rsmith, iains

Differential Revision: https://reviews.llvm.org/D113545
2022-06-29 12:48:48 +08:00
..
APINotes
ARCMT [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
AST Fix interaction of pragma FENV_ACCESS with other pragmas 2022-06-22 15:13:54 +07:00
ASTMerge
Analysis [OpenMP] Initial parsing and sema support for 'masked taskloop simd' construct 2022-06-28 15:27:49 -07:00
C/drs Revert "Improve handling of static assert messages." 2022-06-29 00:03:23 +02:00
CXX [C++20] [Module] Support reachable definition initially/partially 2022-06-29 12:48:48 +08:00
ClangScanDeps [clang][deps] Sort submodules when calculating dependencies 2022-06-17 07:55:27 -07:00
CodeCompletion
CodeGen Revert "Reland "[X86] Support `_Float16` on SSE2 and up"" 2022-06-28 10:59:03 -07:00
CodeGenCUDA [HIP] add -fhip-kernel-arg-name 2022-06-24 11:15:36 -04:00
CodeGenCUDASPIRV
CodeGenCXX [ubsan] Using metadata instead of prologue data for function sanitizer 2022-06-27 12:09:13 -07:00
CodeGenCoroutines [Coroutines] Convert coroutine.presplit to enum attr 2022-06-14 14:23:46 +08:00
CodeGenHIP
CodeGenHLSL [HLSL] Enable half type for hlsl. 2022-06-23 12:56:26 -07:00
CodeGenObjC Revert "[clang] Introduce -fstrict-flex-arrays=<n> for stricter handling of flexible arrays" 2022-06-27 14:03:09 -07:00
CodeGenObjCXX [DeadArgElim] Re-apply: Set unused arguments for internal functions 2022-05-12 08:46:16 -07:00
CodeGenOpenCL [AMDGPU] gfx11 new dot instruction codegen support 2022-06-16 14:19:34 -04:00
CodeGenOpenCLCXX
CodeGenSYCL
Coverage
CoverageMapping [clang][NFC] Cleanup some coroutine tests 2022-05-16 05:15:12 -07:00
Driver [Driver][ARM][AArch64] Use err_drv_unsupported_option_argument for -march=/-mcpu=/-mtune= diagnostics 2022-06-28 16:01:30 -07:00
ExtractAPI [clang][extract-api] Don't emit symbols prefixed with an underscore 2022-05-25 19:02:18 +01:00
FixIt [Clang][C++23] P2071 Named universal character escapes 2022-06-25 19:03:33 +02:00
Format [clang-format] Allow empty .clang-format file 2022-04-12 21:20:54 -07:00
Frontend [clang] Reject non-declaration C++11 attributes on declarations 2022-06-15 11:58:26 +02:00
Headers [OpenCL] Reword unknown extension pragma diagnostic 2022-06-15 10:54:46 +01:00
Import [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
Index Revert "[clang][test] mark tests added in ee8524087c as unsupported on AIX" 2022-05-30 09:35:26 -04:00
Integration
InterfaceStubs
Interpreter Revert "[clang-repl] Support destructors of global objects." 2022-06-26 22:10:28 +09:00
Layout
Lexer Revert "Improve handling of static assert messages." 2022-06-29 00:03:23 +02:00
LibClang
Misc Revert "Improve handling of static assert messages." 2022-06-29 00:03:23 +02:00
Modules [C++20] [Module] Support reachable definition initially/partially 2022-06-29 12:48:48 +08:00
OpenMP [OpenMP] Initial parsing and sema support for 'masked taskloop simd' construct 2022-06-28 15:27:49 -07:00
PCH Revert "Improve handling of static assert messages." 2022-06-29 00:03:23 +02:00
Parser [Clang][C++23] P2071 Named universal character escapes 2022-06-25 19:03:33 +02:00
ParserHLSL [HLSL] Adjust access specifier behavior 2022-04-28 10:37:50 -05:00
ParserSYCL
Preprocessor [Driver][ARM][AArch64] Use err_drv_unsupported_option_argument for -march=/-mcpu=/-mtune= diagnostics 2022-06-28 16:01:30 -07:00
Profile [NFC] Rename Instrinsic to Intrinsic 2022-04-25 18:13:23 +01:00
Refactor
Rewriter [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
Sema Revert "Improve handling of static assert messages." 2022-06-29 00:03:23 +02:00
SemaCUDA Fix test; we now expect a pedantic warning 2022-05-11 06:52:21 -04:00
SemaCXX Revert "Improve handling of static assert messages." 2022-06-29 00:03:23 +02:00
SemaHLSL [HLSL] Support HLSL vector initializers 2022-06-21 12:33:42 -05:00
SemaObjC [clang] Reject non-declaration C++11 attributes on declarations 2022-06-15 11:58:26 +02:00
SemaObjCXX Change the behavior of implicit int diagnostics 2022-05-04 08:35:47 -04:00
SemaOpenCL [OpenCL] Reduce emitting candidate notes for builtins 2022-06-27 09:55:44 +01:00
SemaOpenCLCXX
SemaSYCL
SemaTemplate [Sema] Fix assertion failure when instantiating requires expression 2022-06-23 16:20:30 +02:00
TableGen
Templight
Tooling Revert "[clang-diff] Fix assertion error when dealing with wide strings" 2022-06-07 14:58:10 -07:00
Unit [lit] Fix setup of sanitizer environment 2022-05-19 19:24:16 -07:00
VFS Reland "[dwarf] Emit a DIGlobalVariable for constant strings." 2022-05-18 13:56:45 -07:00
clang-rename
utils/update_cc_test_checks Revert "[utils] Avoid hardcoding metadata ids in update_cc_test_checks" 2022-05-10 14:04:19 -07:00
.clang-format
CMakeLists.txt [clang-fuzzer] Add a tiny tool to generate a fuzzing dictionary for clang 2022-05-09 18:25:29 +02:00
TestRunner.sh
lit.cfg.py cmake: configure clang lit to use hmaptool from source directly 2022-06-16 13:08:50 +02: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