[PATCH] D125944: Template instantiation error recovery
Purva Chaudhari via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 28 21:51:22 PDT 2022
Purva-Chaudhari added a comment.
In D125944#3689022 <https://reviews.llvm.org/D125944#3689022>, @v.g.vassilev wrote:
> @Purva-Chaudhari can you rebase this patch?
In D125944#3821679 <https://reviews.llvm.org/D125944#3821679>, @aaron.ballman wrote:
> 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.
>
>
>
> --
>
>
>
> ********************
Let me rebase and commit the test again
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125944/new/
https://reviews.llvm.org/D125944
More information about the cfe-commits
mailing list