[clang] [Clang][AST] fix crash in mangle lambda expression (PR #78896)

via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 21 23:43:10 PST 2024


================
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 -fsyntax-only -std=c++20 -verify %s
----------------
cor3ntin wrote:

`-fsyntax-only` is suspicious, i would prefer a CodeGenTest that checks the mangle name
Maybe moving the test to `test/CodeGenCXX/mangle-lambdas.cpp ` (or one of the other similar test in this folder) would be a good idea

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


More information about the cfe-commits mailing list