Lines Matching +full:x +full:- +full:forwarded +full:- +full:for
2 // Use of this source code is governed by a BSD-style license that can be
6 // http://dev.chromium.org/developers/testing/no-compile-tests
78 int x;
85 …static_assert failed .*\"Bound argument \|i\| of type \|Arg\| cannot be forwarded as \|Unwrapped\|…
87 // Method bound to const-object.
101 // Method bound to non-refcounted object.
113 // Const Method bound to non-refcounted object.
123 …static_assert failed .*\"Bound argument \|i\| of type \|Arg\| cannot be forwarded as \|Unwrapped\|…
125 // Const argument used with non-const pointer parameter of same type.
127 // This is just a const-correctness check.
135 …static_assert failed .*\"Bound argument \|i\| of type \|Arg\| cannot be forwarded as \|Unwrapped\|…
137 // Const argument used with non-const pointer parameter of super type.
139 // This is just a const-correctness check.
149 // pass a const ref to a non const-ref function, or vice versa accidentally. Or
154 // First, non-const reference parameters are disallowed by the Google
164 …static_assert failed .*\"Bound argument \|i\| of type \|Arg\| cannot be forwarded as \|Unwrapped\|…
179 // This is likely not wanted behavior. We specifically check for it though
246 … 'base::internal::FunctorTraits<\(lambda at (\.\./)+base/bind_unittest.nc:[0-9]+:[0-9]+\), void>'"]
253 …"static_assert failed .*\"OnceCallback::Run\(\) may only be invoked on a non-const rvalue, i\.e\. …
260 …"static_assert failed .*\"OnceCallback::Run\(\) may only be invoked on a non-const rvalue, i\.e\. …
267 …"static_assert failed .*\"OnceCallback::Run\(\) may only be invoked on a non-const rvalue, i\.e\. …
280 …) // [r"fatal error: static_assert failed .*\"BindOnce requires non-const rvalue for OnceCallback…
286 …) // [r"fatal error: static_assert failed .*\"BindOnce requires non-const rvalue for OnceCallback…
293 …E) // [r"fatal error: static_assert failed .*\"Bound argument \|i\| is move-only but will be boun…
296 std::unique_ptr<int> x;
297 BindOnce(&TakesMoveOnly, x);
300 …IND_MOVEONLY_TYPE_BY_VALUE) // [r"Bound argument \|i\| is move-only but will be forwarded by copy…
303 std::unique_ptr<int> x;
304 Bind(&TakesMoveOnly, x);
307 …MOVEONLY_TYPE_WITH_STDMOVE) // [r"Bound argument \|i\| is move-only but will be forwarded by copy…
310 std::unique_ptr<int> x;
311 Bind(&TakesMoveOnly, std::move(x));