Home
last modified time | relevance | path

Searched refs:captured_sum (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/test/SemaCXX/
Dcaptured-statements.cpp140 T captured_sum(const T &a, const T &b) { in captured_sum() function
152 T captured_sum(const T &a, const Args&... args) { in captured_sum() function
157 result = a + captured_sum(args...); in captured_sum()
164 (void)captured_sum(1, 2, 3); // OK in test_capture_variadic()
165 (void)captured_sum(1, 2, 3, 4, 5); // OK in test_capture_variadic()
/external/clang/test/SemaCXX/
Dcaptured-statements.cpp140 T captured_sum(const T &a, const T &b) { in captured_sum() function
152 T captured_sum(const T &a, const Args&... args) { in captured_sum() function
157 result = a + captured_sum(args...); in captured_sum()
164 (void)captured_sum(1, 2, 3); // OK in test_capture_variadic()
165 (void)captured_sum(1, 2, 3, 4, 5); // OK in test_capture_variadic()