[PATCH] D60672: [libclang] visit c++14 lambda capture init expressions
Nikolai Kosjar via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 8 06:47:13 PDT 2019
nik added a comment.
Tests do not pass on current trunk:
/d2/llvm/trunk/builds/DebugShared % bin/llvm-lit -a /d2/llvm/trunk/source/tools/clang/test/Index/cxx14-lambdas.cpp
llvm-lit: /d2/llvm/trunk/source/utils/lit/lit/llvm/config.py:341: note: using clang: /d2/llvm/trunk/builds/DebugShared/bin/clang
-- Testing: 1 tests, single process --
FAIL: Clang :: Index/cxx14-lambdas.cpp (1 of 1)
******************** TEST 'Clang :: Index/cxx14-lambdas.cpp' FAILED ********************
Script:
--
: 'RUN: at line 13'; /d2/llvm/trunk/builds/DebugShared/bin/c-index-test -test-load-source all -std=c++14 /d2/llvm/trunk/source/tools/clang/test/Index/cxx14-lambdas.cpp | /d2/llvm/trunk/builds/DebugShared/bin/FileCheck -check-prefix=CHECK-LOAD /d2/llvm/trunk/source/tools/clang/test/Index/cxx14-lambdas.cpp
: 'RUN: at line 30'; env CINDEXTEST_INDEXLOCALSYMBOLS=1 /d2/llvm/trunk/builds/DebugShared/bin/c-index-test -index-file -std=c++14 /d2/llvm/trunk/source/tools/clang/test/Index/cxx14-lambdas.cpp | /d2/llvm/trunk/builds/DebugShared/bin/FileCheck -check-prefix=CHECK-INDEX /d2/llvm/trunk/source/tools/clang/test/Index/cxx14-lambdas.cpp
--
Exit Code: 1
Command Output (stderr):
--
/d2/llvm/trunk/source/tools/clang/test/Index/cxx14-lambdas.cpp:22:16: error: CHECK-LOAD: expected string not found in input
// CHECK-LOAD: cxx14-lambdas.cpp:7:27: DeclRefExpr=localA:6:9 Extent=[7:27 - 7:33]
^
<stdin>:390:1: note: scanning from here
// CHECK: cxx14-lambdas.cpp:7:59: ParmDecl=x:7:59 (Definition) Extent=[7:51 - 7:60]
^
<stdin>:402:11: note: possible intended match here
// CHECK: cxx14-lambdas.cpp:8:21: DeclRefExpr=copy:7:35 Extent=[8:21 - 8:25]
^
--
********************
Testing Time: 0.13s
********************
Failing Tests (1):
Clang :: Index/cxx14-lambdas.cpp
Unexpected Failures: 1
zsh: exit 1 bin/llvm-lit -a /d2/llvm/trunk/source/tools/clang/test/Index/cxx14-lambdas.cp
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60672/new/
https://reviews.llvm.org/D60672
More information about the cfe-commits
mailing list