[clang] [clang] Fix an out-of-bound crash when checking template partial specializations. (PR #86794)

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 28 01:08:48 PDT 2024


================
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c++20 -verify %s
+// RUN: %clang_cc1 -std=c++20 -ferror-limit 0 -verify %s
----------------
hokein wrote:

This file contains many errors, the number of the errors exceeds the default number (19) in clang, which affects the clang behavior (clang will stop parsing when it reaches the error limit). 

https://github.com/llvm/llvm-project/pull/86794


More information about the cfe-commits mailing list