llvm-project/clang/lib
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 [clang][APINotes] Fix -Wunused-function warning (NFC) 2021-04-01 09:52:43 +08:00
ARCMigrate [clang] Introduce SourceLocation::[U]IntTy typedefs. 2021-07-21 10:45:46 +01:00
AST [clang] fix canonicalization of nested name specifiers 2021-08-03 22:39:48 +02:00
ASTMatchers [clang] Rename StringRef _lower() method calls to _insensitive() 2021-06-25 00:22:01 +03:00
Analysis [analyzer][NFC] Display the correct function name even in crash dumps 2021-07-12 09:06:46 +02:00
Basic [RISCV] Rename vector inline constraint from 'v' to 'vr' and 'vm' in IR. 2021-08-01 05:58:17 +08:00
CodeGen [Clang][AArch64] Inline assembly support for the ACLE type 'data512_t' 2021-07-31 09:51:28 +01:00
CrossTU PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
DirectoryWatcher Revert "Re-Revert "DirectoryWatcher: add an implementation for Windows"" 2021-06-19 09:19:52 -07:00
Driver [clang] [MinGW] Let the last of -mconsole/-mwindows have effect 2021-08-03 10:55:44 +03:00
Edit [Matrix] Implement C-style explicit type conversions for matrix types. 2021-04-10 11:48:41 +01:00
Format [clan-format] detect function definitions more conservatively 2021-08-03 16:19:35 +02:00
Frontend [Preprocessor] Ensure newline after #pragma introduced by -fms-extensions. 2021-08-01 19:08:13 -05:00
FrontendTool [OptTable] Rename PrintHelp to printHelp 2021-06-24 14:47:03 -07:00
Headers [OpenMP][AMDGCN] Initial math headers support 2021-08-02 14:38:52 +00:00
Index [index] Fix performance regression with indexing macros 2021-06-16 10:16:26 -07:00
IndexSerialization
Interpreter Reland "[clang-repl] Implement partial translation units and error recovery." 2021-07-12 15:21:22 +00:00
Lex Revert "Revert "[clang][pp] adds '#pragma include_instead'"" 2021-07-29 19:21:43 +00:00
Parse Make simple requirements starting with requires ill-formed in in requirement body 2021-08-03 07:42:29 -04:00
Rewrite [analyzer] Highlight arrows for currently selected event 2021-08-02 19:15:01 +03:00
Sema [clang] fix crash on template instantiation of invalid requires expressions 2021-08-03 23:16:04 +02:00
Serialization [clang] Introduce SourceLocation::[U]IntTy typedefs. 2021-07-21 10:45:46 +01:00
StaticAnalyzer [analyzer] Highlight arrows for currently selected event 2021-08-02 19:15:01 +03:00
Testing
Tooling [clang][Driver] Expose driver mode detection logic 2021-07-27 14:49:53 +02:00
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00