Fix 5 ClangTidy - Readability findings.
authorJacques Pienaar <jpienaar@google.com>
Thu, 30 May 2019 04:15:43 +0000 (21:15 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 2 Jun 2019 03:10:22 +0000 (20:10 -0700)
commit4a697a91de40023535a9f62b997b7b81f4693140
tree53a192bbf91b05b484d305a1682fbe5477a330a1
parent9abdbb31892c93f83ee640f2419d78abd8499196
Fix 5 ClangTidy - Readability findings.

    * the 'empty' method should be used to check for emptiness instead of 'size'
    * using decl 'CapturableHandle' is unused
    * redundant get() call on smart pointer
    * using decl 'apply' is unused
    * using decl 'ScopeGuard' is unused

--

PiperOrigin-RevId: 250623863
mlir/bindings/python/pybind.cpp
mlir/examples/Linalg/Linalg1/lib/Common.cpp
mlir/include/mlir/IR/MLIRContext.h
mlir/lib/Transforms/Vectorize.cpp