llvm-project/clang/test
Matheus Izvekov e64e6924b8 [clang] fix crash on template instantiation of invalid requires expressions
See PR48656.

The implementation of the template instantiation of requires expressions
was incorrectly trying to get the expression from an 'ExprRequirement'
before checking if it was an error state.

Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>

Reviewed By: rsmith

Differential Revision: https://reviews.llvm.org/D107399
2021-08-03 23:16:04 +02:00
..
APINotes
ARCMT
AST [clang] Make member var invalid when static initializer is invalid. 2021-08-03 11:52:52 +02:00
ASTMerge
Analysis [analyzer] Highlight arrows for currently selected event 2021-08-02 19:15:01 +03:00
CXX [clang] fix crash on template instantiation of invalid requires expressions 2021-08-03 23:16:04 +02:00
ClangScanDeps [clang-scan-deps] ignore top-level module dependencies that aren't actually imported 2021-07-20 11:11:28 -07:00
CodeCompletion
CodeGen [RISCV] Rename vector inline constraint from 'v' to 'vr' and 'vm' in IR. 2021-08-01 05:58:17 +08:00
CodeGenCUDA [HIP] Preserve ASAN bitcode library functions 2021-07-23 10:35:52 -04:00
CodeGenCXX [clang] Add support for optional flag -fnew-infallible to restrict exception propagation 2021-08-02 15:45:06 -07:00
CodeGenCoroutines [Coroutines] Run coroutine passes by default 2021-07-15 14:33:40 +08:00
CodeGenHIP
CodeGenObjC [clang][darwin] add support for Mac Catalyst availability 2021-07-20 12:51:57 -07:00
CodeGenObjCXX Reapply [IR] Don't mark mustprogress as type attribute 2021-07-09 20:57:44 +02:00
CodeGenOpenCL [OpenCL] Replace test for pipe struct to test it with fixed triple 2021-07-30 21:49:20 +03:00
CodeGenOpenCLCXX [C++][Sema] Ignore top-level qualifiers in casts 2021-07-05 12:22:08 +01:00
CodeGenSYCL [SYCL] Fix __builtin_sycl_unique_stable_name to work on windows/spir 2021-06-02 13:16:14 -07:00
Coverage Add a target triple to fix failures on MS build bots. 2021-06-30 17:27:26 -07:00
CoverageMapping
Driver [clang] [MinGW] Let the last of -mconsole/-mwindows have effect 2021-08-03 10:55:44 +03:00
FixIt [clang][darwin] add support for Mac Catalyst availability 2021-07-20 12:51:57 -07:00
Format Remove redundant test that was causing intermittent build bot failures. 2021-06-15 12:46:03 -07:00
Frontend Improve clang -Wframe-larger-than= diagnostic 2021-06-22 11:20:49 -07:00
Headers [OpenMP][AMDGCN] Initial math headers support 2021-08-02 14:38:52 +00:00
Import
Index [clang][patch] Remove test artifact before running test for consistent results 2021-07-24 07:55:10 -04:00
Integration
InterfaceStubs [ifs][elfabi] Merge llvm-ifs/elfabi tools 2021-07-19 11:23:19 -07:00
Interpreter Reland "[clang-repl] Allow passing in code as positional arguments." 2021-07-10 17:54:00 +00:00
Layout [PowerPC][AIX] Fix Zero-width bit fields wrt MaxFieldAlign. 2021-07-12 15:31:15 -04:00
Lexer Support macro deprecation #pragma clang deprecated 2021-07-29 12:40:53 -05:00
LibClang libclang.so: Make SONAME independent from LLVM version 2021-07-26 16:37:26 -07:00
Misc [OpenCL] Add support of __opencl_c_pipes feature macro. 2021-07-30 18:10:25 +03:00
Modules Support for merging UsingPackDecls across modules. 2021-07-01 18:43:49 -07:00
OpenMP Stop emit incomplete type error for a variable in a map clause 2021-08-03 10:51:32 -07:00
PCH Revert "Revert "[clang][pp] adds '#pragma include_instead'"" 2021-07-29 19:21:43 +00:00
Parser Make simple requirements starting with requires ill-formed in in requirement body 2021-08-03 07:42:29 -04:00
ParserSYCL
Preprocessor [Preprocessor] Ensure newline after #pragma introduced by -fms-extensions. 2021-08-01 19:08:13 -05:00
Profile [InstrProfiling] Make CountersPtr in __profd_ relative 2021-07-30 11:52:18 -07:00
Refactor
Rewriter
Sema [clang] Evaluate strlen of strcpy argument for -Wfortify-source. 2021-07-28 20:52:57 +00:00
SemaCUDA [HIP] Defer operator overloading errors 2021-06-23 23:39:59 -04:00
SemaCXX [clang] Make member var invalid when static initializer is invalid. 2021-08-03 11:52:52 +02:00
SemaObjC [clang][darwin] add support for Mac Catalyst availability 2021-07-20 12:51:57 -07:00
SemaObjCXX [clang] C++98 implicit moves are back with a vengeance 2021-07-13 19:16:49 +02:00
SemaOpenCL [OpenCL] Add support of __opencl_c_pipes feature macro. 2021-07-30 18:10:25 +03:00
SemaOpenCLCXX [C++][Sema] Ignore top-level qualifiers in casts 2021-07-05 12:22:08 +01:00
SemaSYCL
SemaTemplate Print default template argument if manually specified in typedef declaration. 2021-06-29 14:57:26 +00:00
TableGen
Templight
Tooling [clang][tooling] Accept Clang invocations with multiple jobs 2021-07-27 10:47:55 +02:00
Unit
VFS
clang-rename
utils/update_cc_test_checks [Utils] Support class template specializations in update_cc_test_checks 2021-07-28 16:03:41 +01:00
.clang-format
CMakeLists.txt libclang.so: Make SONAME independent from LLVM version 2021-07-26 16:37:26 -07:00
TestRunner.sh
cxx-sections.data
lit.cfg.py
lit.site.cfg.py.in libclang.so: Make SONAME independent from LLVM version 2021-07-26 16:37:26 -07:00
make_test_dirs.pl