[clang] [clang-repl] fix CleanUpPTU by removing decl according to C implicitly FuncitonDecl. (PR #178648)
Vassil Vassilev via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 2 03:57:07 PST 2026
================
@@ -0,0 +1,17 @@
+// REQUIRES: host-supports-jit
+// RUN: cat %s | clang-repl -Xcc -x -Xcc c -Xcc -std=c17 -Xcc -fno-builtin -Xcc -Wno-error=implicit-function-declaration 2>&1 | FileCheck %s
+// RUN: %if !system-windows %{ cat %s | clang-repl -Xcc -x -Xcc c -Xcc -std=c17 -Xcc -fno-builtin -Xcc -O2 -Xcc -Wno-error=implicit-function-declaration 2>&1 | FileCheck %s %}
----------------
vgvassilev wrote:
Why this is different on windows?
https://github.com/llvm/llvm-project/pull/178648
More information about the cfe-commits
mailing list