================
@@ -433,3 +433,22 @@ void dependentInitInGenericLambdaMultiArg() {
     DependentCtor2<T> s(p, p);
   };
 }
+
+namespace std { typedef decltype(sizeof(int)) size_t; }
+void* operator new(std::size_t, void*) noexcept;
----------------
zwuis wrote:

Create a mock header in 
`clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std`, add this to 
the header, then `#include <new>`.

https://github.com/llvm/llvm-project/pull/207770
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to