llvm-project/clang/test
Richard Smith 1e8c0850b1 For now, disallow lifetime-extended temporaries with non-trivial (but
constexpr) destructors from being used in the values of constexpr
variables.

The standard rules here are unclear at best, so rejecting the
problematic cases seems prudent. Prior to this change, we would fail to
run the destructors for these temporaries, even if they had
side-effects, which is certainly not the right behavior.

llvm-svn: 373161
2019-09-29 06:22:54 +00:00
..
ARCMT
AST [Sema] Fix the atomic expr rebuilding order. 2019-09-23 18:48:06 +00:00
ASTMerge Give the 'signed/unsigned wchar_t' extension a warning flag, and follow 2019-07-29 20:00:46 +00:00
Analysis Revert "[static analyzer] Define __clang_analyzer__ macro in driver" 2019-09-24 03:21:22 +00:00
CXX For P0784R7: compute whether a variable has constant destruction if it 2019-09-29 05:08:46 +00:00
ClangScanDeps [clang-scan-deps] strip the --serialize-diagnostics argument 2019-09-21 00:17:26 +00:00
CodeCompletion Re-land "[CodeComplete] Improve overload handling for C++ qualified and ref-qualified methods." 2019-06-10 15:17:52 +00:00
CodeGen [clang] [AST] Treat "inline gnu_inline" the same way as "extern inline gnu_inline" in C++ mode 2019-09-27 12:25:19 +00:00
CodeGenCUDA [HIP] Support new kernel launching API 2019-09-24 19:16:40 +00:00
CodeGenCXX For P0784R7: compute whether a variable has constant destruction if it 2019-09-29 05:08:46 +00:00
CodeGenCoroutines Remove unreachable blocks before splitting a coroutine. 2019-08-14 03:54:13 +00:00
CodeGenObjC [test] Use %clang_cc1 instead of %clang -cc1 2019-09-27 05:37:06 +00:00
CodeGenObjCXX [c++20] Implement semantic restrictions for C++20 designated 2019-08-30 22:52:55 +00:00
CodeGenOpenCL AMDGPU: Add builtins for is_shared/is_private 2019-09-05 03:00:43 +00:00
CodeGenOpenCLCXX Make the CXXABIs respect the target's default calling convention. 2019-07-26 12:36:12 +00:00
Coverage Re-check in clang support gun asm goto after fixing tests. 2019-06-03 15:57:25 +00:00
CoverageMapping Remove cache for macro arg stringization 2019-07-30 17:58:22 +00:00
Driver Driver tests: set `--sysroot=""` to support clang with `DEFAULT_SYSROOT` 2019-09-28 12:21:06 +00:00
FixIt [c++20] P1143R2: Add support for the C++20 'constinit' keyword. 2019-09-04 20:30:37 +00:00
Format Re-land Remove REQUIRES:shell from tests that pass for me on Windows 2019-09-10 20:15:45 +00:00
Frontend [test] Use %clang_cc1 instead of %clang -cc1 2019-09-27 05:37:06 +00:00
Headers [Testing] Workaround libcxx bug when OS is "none" 2019-09-26 08:19:44 +00:00
Import
Index Finish building the full-expression for a static_assert expression 2019-09-20 03:29:19 +00:00
Integration
InterfaceStubs [clang][ifs] Dropping older experimental interface stub formats. 2019-08-22 23:44:34 +00:00
Layout P0840R2: support for [[no_unique_address]] attribute 2019-06-20 20:44:45 +00:00
Lexer Move normalization of `\` in #includes from -fms-compatibility to -fms-extensions 2019-09-26 17:19:22 +00:00
Misc [test] Use %clang_cc1 instead of %clang -cc1 2019-09-27 05:37:06 +00:00
Modules [test] Use %clang_cc1 instead of %clang -cc1 2019-09-27 05:37:06 +00:00
OpenMP [Clang][OpenMP Offload] Create start/end symbols for the offloading entry table with a help of a linker 2019-09-27 20:00:51 +00:00
PCH Re-land Remove REQUIRES:shell from tests that pass for me on Windows 2019-09-10 20:15:45 +00:00
Parser [MS] Warn when shadowing template parameters under -fms-compatibility 2019-09-12 18:26:34 +00:00
Preprocessor [test] Use %clang_cc1 instead of %clang -cc1 2019-09-27 05:37:06 +00:00
Profile Reland "clang-misexpect: Profile Guided Validation of Performance Annotations in LLVM" 2019-09-11 16:19:50 +00:00
Refactor [Tooling] Added DeclStmtClass to ExtractionSemicolonPolicy 2019-08-14 13:37:39 +00:00
Rewriter
Sema [Diagnostics] Handle tautological left shifts in boolean context 2019-09-24 13:14:18 +00:00
SemaCUDA [clang] [AST] Treat "inline gnu_inline" the same way as "extern inline gnu_inline" in C++ mode 2019-09-27 12:25:19 +00:00
SemaCXX For now, disallow lifetime-extended temporaries with non-trivial (but 2019-09-29 06:22:54 +00:00
SemaObjC [Sema] Split of versions of -Wimplicit-{float,int}-conversion for Objective-C BOOL 2019-09-17 21:11:51 +00:00
SemaObjCXX [c++20] Implement semantic restrictions for C++20 designated 2019-08-30 22:52:55 +00:00
SemaOpenCL [OpenCL] Add -Wconversion to fdeclare-opencl-builtins test 2019-09-26 13:31:36 +00:00
SemaOpenCLCXX Quote the token being diagnosed for C11 extensions. 2019-08-27 13:47:51 +00:00
SemaTemplate Always rebuild a DeclRefExpr if its FoundDecl would change. 2019-09-26 22:28:32 +00:00
TableGen
Templight
Tooling Recommit r363298 "[lit] Disable test on darwin when building shared libs." 2019-06-15 20:09:54 +00:00
Unit
VFS Switch "windows" to "system-windows" in some XFAILs 2019-09-12 11:19:12 +00:00
clang-rename
.clang-format
CMakeLists.txt [Clang][Bundler] Use llvm-objcopy for creating fat object files 2019-08-26 19:48:43 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py Improve behavior in the case of stack exhaustion. 2019-08-26 18:18:07 +00:00
lit.site.cfg.py.in Improve behavior in the case of stack exhaustion. 2019-08-26 18:18:07 +00:00
make_test_dirs.pl