* 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
std::string res;
llvm::raw_string_ostream os(res);
t.print(os);
- if (attrs.size() == 0)
+ if (attrs.empty())
return os.str();
os << '{';
using llvm::ArrayRef;
using mlir::ConstantIndexOp;
-using mlir::edsc::CapturableHandle;
using mlir::edsc::ValueHandle;
using mlir::edsc::intrinsics::alloc;
using mlir::edsc::intrinsics::ret;
// This is effectively private given that only MLIRContext.cpp can see the
// MLIRContextImpl type.
- MLIRContextImpl &getImpl() { return *impl.get(); }
+ MLIRContextImpl &getImpl() { return *impl; }
/// Emit an error message using the diagnostic engine.
InFlightDiagnostic emitError(Location location);
#define DEBUG_TYPE "early-vect"
-using functional::apply;
using functional::makePtrDynCaster;
using functional::map;
-using functional::ScopeGuard;
using llvm::dbgs;
using llvm::DenseSet;
using llvm::SetVector;