We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6df0c2a commit 38003e3Copy full SHA for 38003e3
clang-tools-extra/clangd/unittests/tweaks/ExtractFunctionTests.cpp
@@ -194,8 +194,12 @@ F (extracted();)
194
ExtraArgs.push_back("-std=c++14");
195
// FIXME: Expressions are currently not extracted
196
EXPECT_EQ(apply(R"cpp(
197
- void sink(int);
198
- void call() { sink([[1+1]]); }
+ void call() { [[1+1]]; }
+ )cpp"),
199
+ "unavailable");
200
+ // FIXME: Expression are currently not extracted
201
+ EXPECT_EQ(apply(R"cpp(
202
+ void call() { [[1+1;]] }
203
)cpp"),
204
"unavailable");
205
}
0 commit comments