[clang] [Sema] Fast-path simple plain auto deduction in DeduceAutoType (PR #188196)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 25 08:08:56 PDT 2026
================
@@ -0,0 +1,252 @@
+// RUN: %clangxx -std=c++20 -fsyntax-only -Xclang -verify %s
+
+#include <initializer_list>
----------------
Sirraide wrote:
```suggestion
namespace std {
template <typename T>
struct initializer_list {
const T* begin;
const T* end;
};
}
```
Regression tests should never include standard library headers; adding this should suffice for the tests in this file.
https://github.com/llvm/llvm-project/pull/188196
More information about the cfe-commits
mailing list