Ignore:
Timestamp:
Jul 5, 2016, 9:10:16 PM (3 years ago)
Author:
cameron
Message:

Some changes recommended by cppcheck

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/optimizers/distributivepass.cpp

    r4927 r5081  
    386386    std::vector<Variadic *> Q = {var};
    387387
    388     while (Q.size() > 0) {
     388    while (!Q.empty() {
    389389        Variadic * expr = CanonicalizeDFG::canonicalize(Q.back()); Q.pop_back();
    390390        PabloAST * const replacement = Simplifier::fold(expr, expr->getParent());
Note: See TracChangeset for help on using the changeset viewer.