[PATCH] D125944: Template instantiation error recovery
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 28 11:39:45 PDT 2022
aaron.ballman added a reviewer: erichkeane.
aaron.ballman added a comment.
The precommit CI failure looks relevant:
******************** TEST 'Clang :: Interpreter/template-recovery.cpp' FAILED ********************
Script:
--
: 'RUN: at line 1'; /var/lib/buildkite-agent/builds/llvm-project/build/bin/clang-repl "int i = 10;" 'extern "C" int printf(const char*,...);' 'auto r1 = printf("i = %d\n", i);' | /var/lib/buildkite-agent/builds/llvm-project/build/bin/FileCheck --check-prefix=CHECK-DRIVER /var/lib/buildkite-agent/builds/llvm-project/clang/test/Interpreter/template-recovery.cpp
: 'RUN: at line 6'; cat /var/lib/buildkite-agent/builds/llvm-project/clang/test/Interpreter/template-recovery.cpp | /var/lib/buildkite-agent/builds/llvm-project/build/bin/clang-repl | /var/lib/buildkite-agent/builds/llvm-project/build/bin/FileCheck /var/lib/buildkite-agent/builds/llvm-project/clang/test/Interpreter/template-recovery.cpp
--
Exit Code: 1
Command Output (stderr):
--
In file included from <<< inputs >>>:1:
input_line_8:1:25: error: a type specifier is required for all declarations
auto ptu2 = f<float>(); err;
^
error: Parsing failed.
input_line_15:1:1: error: unknown type name 'quit'
quit
^
<<< inputs >>>:1:1: error: expected unqualified-id
error: Parsing failed.
--
********************
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125944/new/
https://reviews.llvm.org/D125944
More information about the cfe-commits
mailing list