Skip to content

Commit f06d71d

Browse files
committed
Fix test cases for main.
1 parent a3c9727 commit f06d71d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/Analysis/Checkers/WebKit/call-args.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,8 @@ namespace call_with_explicit_temporary_obj {
366366
}
367367
template <typename T>
368368
void bar() {
369-
Ref { *provide() }->method();
370-
RefPtr { provide() }->method();
369+
Ref(*provide())->method();
370+
RefPtr(provide())->method();
371371
}
372372
void baz() {
373373
bar<int>();

0 commit comments

Comments
 (0)