Home
last modified time | relevance | path

Searched refs:return_int (Results 1 – 5 of 5) sorted by relevance

/llvm-project/libcxx/test/std/utilities/expected/expected.void/monadic/
H A Dand_then.pass.cpp41 std::expected<void, int> return_int() { return {}; } in return_int() function
45 static_assert(has_and_then<std::expected<void, int>&, decltype(return_int)>);
47 static_assert(has_and_then<const std::expected<void, int>&, decltype(return_int)>);
49 static_assert(has_and_then<std::expected<void, int>&&, decltype(return_int)>);
51 static_assert(has_and_then<const std::expected<void, int>&&, decltype(return_int)>);
/llvm-project/llvm/test/CodeGen/X86/
H A Dswifttail-return.ll4 define swifttailcc [4 x i64] @return_int() {
5 ; CHECK-LABEL: return_int:
/llvm-project/clang/test/CXX/dcl/dcl.fct/
H A Dp17.cpp27 int return_int(); void return_void(); int foo(int);
31 static_assert(is_same_v<decltype(f6(return_int)), int (*)()>);
38 static_assert(is_same_v<decltype(f7(return_int)), int (*)()>);
50 using f9c1 = decltype(f9(return_int, 1)); // expected-error{{no matching}}
/llvm-project/llvm/test/CodeGen/AArch64/
H A Dfunc-calls.ll43 declare i32 @return_int()
51 %int = call i32 @return_int()
53 ; CHECK: bl return_int
H A Dfunc-argpassing.ll73 define dso_local i32 @return_int() {
74 ; CHECK-LABEL: return_int: