Skip to content

Commit

Permalink
Merge branch 'master' of github.com:csmith-project/csmith
Browse files Browse the repository at this point in the history
  • Loading branch information
regehr committed Jul 4, 2011
2 parents a17ac4b + 4780876 commit 178280a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Type.cpp
Expand Up @@ -1475,8 +1475,11 @@ Type::get_int_subfield_names(string prefix, vector<string>& names, const vector<
size_t j = 0;
for (i=0; i<fields.size(); i++) {
// skip 0 length bitfields
if (std::find(excluded_fields.begin(), excluded_fields.end(), i) != excluded_fields.end() ||
is_unamed_padding(i)) {
if (is_unamed_padding(i)) {
continue;
}
if (std::find(excluded_fields.begin(), excluded_fields.end(), i) != excluded_fields.end()) {
j++;
continue;
}
ostringstream oss;
Expand Down

0 comments on commit 178280a

Please sign in to comment.