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 @@ -134,3 +134,13 @@ void goto_cc_cmdlinet::add_infile_arg(const std::string &arg)
134
134
fclose (tmp);
135
135
}
136
136
}
137
+
138
+ bool goto_cc_cmdlinet::have_infile_arg () const
139
+ {
140
+ for (parsed_argvt::const_iterator it = parsed_argv.begin ();
141
+ it != parsed_argv.end ();
142
+ it++)
143
+ if (it->is_infile_name )
144
+ return true ;
145
+ return false ;
146
+ }
Original file line number Diff line number Diff line change @@ -68,14 +68,7 @@ class goto_cc_cmdlinet:public cmdlinet
68
68
typedef std::list<argt> parsed_argvt;
69
69
parsed_argvt parsed_argv;
70
70
71
- bool have_infile_arg () const
72
- {
73
- for (parsed_argvt::const_iterator
74
- it=parsed_argv.begin (); it!=parsed_argv.end (); it++)
75
- if (it->is_infile_name )
76
- return true ;
77
- return false ;
78
- }
71
+ bool have_infile_arg () const ;
79
72
80
73
std::string stdin_file;
81
74
You can’t perform that action at this time.
0 commit comments