We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17302d3 commit 3763051Copy full SHA for 3763051
lldb/test/API/lang/cpp/std-invoke-recognizer/main.cpp
@@ -1,8 +1,6 @@
1
#include <functional>
2
3
-void consume_number(int i) {
4
- __builtin_printf("break here");
5
-}
+void consume_number(int i) { __builtin_printf("break here"); }
6
7
int add(int i, int j) {
8
// break here
@@ -11,12 +9,8 @@ int add(int i, int j) {
11
9
12
10
struct Callable {
13
Callable(int num) : num_(num) {}
14
- void operator()(int i) const {
15
16
- }
17
- void member_function(int i) const {
18
19
+ void operator()(int i) const { __builtin_printf("break here"); }
+ void member_function(int i) const { __builtin_printf("break here"); }
20
int num_;
21
};
22
0 commit comments