llvm-project/clang/test
Richard Smith 7e801ca0ef Treat constant contexts as being in the default rounding mode.
This addresses a regression where pretty much all C++ compilations using
-frounding-math now fail, due to rounding being performed in constexpr
function definitions in the standard library.

This follows the "manifestly constant evaluated" approach described in
https://reviews.llvm.org/D87528#2270676 -- evaluations that are required
to succeed at compile time are permitted even in regions with dynamic
rounding modes, as are (unfortunately) the evaluation of the
initializers of local variables of const integral types.

Differential Revision: https://reviews.llvm.org/D89360
2020-10-16 13:26:15 -07:00
..
APINotes/Inputs/Frameworks/SomeKit.framework/Headers docs: add documentation describing API Notes 2020-10-05 18:29:13 +00:00
ARCMT
AST [AST][RecoveryExpr] Don't perform early typo correction in C. 2020-10-12 11:24:45 +02:00
ASTMerge Revert "[ASTImporter] Fix crash caused by unset AttributeSpellingListIndex" 2020-10-14 17:21:56 -07:00
Analysis Revert "[SYCL] Implement __builtin_unique_stable_name." 2020-10-12 01:10:09 -04:00
CXX PR47805: Use a single object for a function parameter in the caller and 2020-10-14 17:43:51 -07:00
ClangScanDeps
CodeCompletion [clang] Make signature help work with dependent args 2020-08-17 10:06:36 +02:00
CodeGen Reapply "OpaquePtr: Add type to sret attribute" 2020-10-16 11:05:02 -04:00
CodeGenCUDA Revert "[HIP] Change default --gpu-max-threads-per-block value to 1024" 2020-10-15 17:25:55 -04:00
CodeGenCXX Extend memset-to-zero optimization to C++11 aggregate functional casts 2020-10-16 13:21:08 -07:00
CodeGenCoroutines Reapply "OpaquePtr: Add type to sret attribute" 2020-10-16 11:05:02 -04:00
CodeGenHIP
CodeGenObjC Reapply "OpaquePtr: Add type to sret attribute" 2020-10-16 11:05:02 -04:00
CodeGenObjCXX Reapply "OpaquePtr: Add type to sret attribute" 2020-10-16 11:05:02 -04:00
CodeGenOpenCL Reapply "OpaquePtr: Add type to sret attribute" 2020-10-16 11:05:02 -04:00
CodeGenOpenCLCXX Reapply "OpaquePtr: Add type to sret attribute" 2020-10-16 11:05:02 -04:00
CodeGenSYCL Revert "[SYCL] Implement __builtin_unique_stable_name." 2020-10-12 01:10:09 -04:00
Coverage
CoverageMapping [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
Driver [AMDGPU][HIP] Switch default DWARF version to 5 2020-10-16 17:53:27 +00:00
FixIt
Format [clang-format] Add a test showing the current config file list parsing 2020-09-04 16:57:46 +01:00
Frontend [PM/CC1] Add -f[no-]split-cold-code CC1 option to toggle splitting 2020-10-15 23:13:33 +00:00
Headers [ARM] Add missing target for Arm neon test case. 2020-10-01 00:32:33 +01:00
Import
Index Fix hidden-redecls.m test for some environments 2020-10-16 09:51:13 +02:00
Integration
InterfaceStubs
Layout [AIX] Support two itanium alignment LIT testcases for AIX using regex 2020-10-13 16:47:01 -04:00
Lexer [clang][feature] Add cxx_abi_relative_vtable feature 2020-10-08 10:30:54 -07:00
Misc [RISCV] Add -mtune support 2020-10-16 13:55:08 +08:00
Modules Reapply "OpaquePtr: Add type to sret attribute" 2020-10-16 11:05:02 -04:00
OpenMP PR47805: Use a single object for a function parameter in the caller and 2020-10-14 17:43:51 -07:00
PCH Set InvalidDecl directly when deserializing a Decl 2020-09-05 14:26:43 +02:00
Parser Better diagnostics for anonymous bit-fields with attributes or an initializer. 2020-09-29 16:32:20 -04:00
Preprocessor [X86] Add HRESET instruction. 2020-10-13 08:47:26 +08:00
Profile [PGO] Include the mem ops into the function hash. 2020-07-30 09:26:20 -07:00
Refactor
Rewriter
Sema Treat constant contexts as being in the default rounding mode. 2020-10-16 13:26:15 -07:00
SemaCUDA PR47805: Use a single object for a function parameter in the caller and 2020-10-14 17:43:51 -07:00
SemaCXX Treat constant contexts as being in the default rounding mode. 2020-10-16 13:26:15 -07:00
SemaObjC Sema: add support for `__attribute__((__swift_private__))` 2020-09-25 22:33:53 +00:00
SemaObjCXX [SemaObjC] Fix composite pointer type calculation for `void*` and pointer to lifetime qualified ObjC pointer type 2020-10-15 15:21:01 -04:00
SemaOpenCL [OpenCL] Add global_device and global_host address spaces 2020-07-29 17:24:53 +03:00
SemaOpenCLCXX
SemaSYCL
SemaTemplate Revert "PR47805: Use a single object for a function parameter in the caller and" 2020-10-13 19:32:03 -07:00
TableGen Revert "Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions"" 2020-09-24 11:16:54 -07:00
Templight
Tooling
Unit
VFS
clang-rename
utils/update_cc_test_checks [UpdateCCTestChecks] Include generated functions if asked 2020-09-18 06:34:59 -05:00
.clang-format
CMakeLists.txt Revert "Re-Re-land: [CodeView] Add full repro to LF_BUILDINFO record" 2020-08-17 15:49:18 -04:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
lit.site.cfg.py.in [CMake] Simplify CMake handling for zlib 2020-08-11 20:22:11 -07:00
make_test_dirs.pl