Remove extra `;` after function definition (NFC)

Fix a GCC warning

--

PiperOrigin-RevId: 247670176
This commit is contained in:
Mehdi Amini 2019-05-10 13:54:11 -07:00 committed by Mehdi Amini
parent a5ca314c4c
commit 91f0781000
5 changed files with 5 additions and 5 deletions

View File

@ -155,7 +155,7 @@ NestedPattern For(FilterFunctionType filter, ArrayRef<NestedPattern> nested) {
bool isLoadOrStore(Operation &op) {
return op.isa<LoadOp>() || op.isa<StoreOp>();
};
}
} // end namespace matcher
} // end namespace mlir

View File

@ -97,7 +97,7 @@ static const char *const *getICmpPredicateNames() {
/*UGT*/ "ugt",
/*UGE*/ "uge"};
return predicateNames;
};
}
// Returns a value of the ICmp predicate corresponding to the given mnemonic.
// Returns -1 if there is no such mnemonic.

View File

@ -944,7 +944,7 @@ void mlir::LLVM::ensureDistinctSuccessors(Module *m) {
::ensureDistinctSuccessors(bb);
}
}
};
}
// Create a set of converters that live in the pass object by passing them a
// reference to the LLVM IR dialect. Store the module associated with the

View File

@ -39,7 +39,7 @@ mlir::tblgen::OpTrait mlir::tblgen::OpTrait::create(const llvm::Init *init) {
}
mlir::tblgen::OpTrait::OpTrait(Kind kind, const llvm::Record *def)
: def(def), kind(kind){};
: def(def), kind(kind) {}
llvm::StringRef mlir::tblgen::NativeOpTrait::getTrait() const {
return def->getValueAsString("trait");

View File

@ -143,7 +143,7 @@ private:
std::vector<Operation *> worklist;
DenseMap<Operation *, unsigned> worklistMap;
};
}; // end anonymous namespace
} // end anonymous namespace
/// Perform the rewrites.
bool GreedyPatternRewriteDriver::simplifyFunction(int maxIterations) {