File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -117,3 +117,13 @@ void goto_cc_cmdlinet::add_infile_arg(const std::string &arg)
117
117
fclose (tmp);
118
118
}
119
119
}
120
+
121
+ bool goto_cc_cmdlinet::have_infile_arg () const
122
+ {
123
+ for (parsed_argvt::const_iterator it = parsed_argv.begin ();
124
+ it != parsed_argv.end ();
125
+ it++)
126
+ if (it->is_infile_name )
127
+ return true ;
128
+ return false ;
129
+ }
Original file line number Diff line number Diff line change @@ -63,14 +63,7 @@ class goto_cc_cmdlinet:public cmdlinet
63
63
typedef std::list<argt> parsed_argvt;
64
64
parsed_argvt parsed_argv;
65
65
66
- bool have_infile_arg () const
67
- {
68
- for (parsed_argvt::const_iterator
69
- it=parsed_argv.begin (); it!=parsed_argv.end (); it++)
70
- if (it->is_infile_name )
71
- return true ;
72
- return false ;
73
- }
66
+ bool have_infile_arg () const ;
74
67
75
68
std::string stdin_file;
76
69
You can’t perform that action at this time.
0 commit comments