[clang] [clang-tools-extra] Fix OOM in FormatDiagnostic (PR #108187)
Vakhurin Sergei via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 12 17:32:40 PDT 2024
================
@@ -0,0 +1,41 @@
+// RUN: %clang_cc1 -fallow-pch-with-compiler-errors -std=c++20 -x c++-header -emit-pch %s -o %t -verify
+// RUN: %clang_cc1 -fallow-pch-with-compiler-errors -std=c++20 -include-pch %t %s -verify
----------------
igelbox wrote:
In the `main` branch it didn't fail but simply hangs. Better than nothing though.
https://github.com/llvm/llvm-project/pull/108187
More information about the cfe-commits
mailing list