llvm-project/clang/lib
Matheus Izvekov 87aa31827b [clang] fix concepts crash on substitution failure during normalization
When substitution failed on the first constrained template argument (but
only the first), we would assert / crash. Checking for failure was only
being performed from the second constraint on.

This changes it so the checking is performed in that case,
and the code is also now simplified a little bit to hopefully
avoid this confusion.

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

Reviewed By: rsmith

Differential Revision: https://reviews.llvm.org/D106907
2021-07-28 23:28:45 +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] NFC: refactor multiple implementations of getDecltypeForParenthesizedExpr 2021-07-28 23:27:43 +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 [CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly 2021-07-28 10:50:32 -04:00
CodeGen COFF/ELF: Place llvm.global_ctors elements in llvm.used if comdat is used 2021-07-28 11:44:19 -07: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][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly 2021-07-28 10:50:32 -04:00
Edit [Matrix] Implement C-style explicit type conversions for matrix types. 2021-04-10 11:48:41 +01:00
Format [clang-format] Correctly attach enum braces with ShortEnums disabled 2021-07-28 10:29:15 +02:00
Frontend [CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly 2021-07-28 10:50:32 -04:00
FrontendTool [OptTable] Rename PrintHelp to printHelp 2021-06-24 14:47:03 -07:00
Headers [WebAssembly] Codegen for extmul SIMD instructions 2021-07-27 08:41:30 -07: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 [CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly 2021-07-28 10:50:32 -04:00
Parse [CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly 2021-07-28 10:50:32 -04:00
Rewrite [clang] DeltaTree::AddDelta - fix "initialization is never read" clang-tidy warning. NFCI. 2021-03-02 15:01:34 +00:00
Sema [clang] fix concepts crash on substitution failure during normalization 2021-07-28 23:28:45 +02:00
Serialization [clang] Introduce SourceLocation::[U]IntTy typedefs. 2021-07-21 10:45:46 +01:00
StaticAnalyzer [clang] NFC: refactor multiple implementations of getDecltypeForParenthesizedExpr 2021-07-28 23:27:43 +02: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