[Mlir-commits] [mlir] 5dcd6af - [mlir] Apply ClangTidyLegacy finding.
Adrian Kuegel
llvmlistbot at llvm.org
Mon Sep 26 01:31:52 PDT 2022
Author: Adrian Kuegel
Date: 2022-09-26T10:31:10+02:00
New Revision: 5dcd6afa20881490b38f3d88c4e59b0b4ff33551
URL: https://github.com/llvm/llvm-project/commit/5dcd6afa20881490b38f3d88c4e59b0b4ff33551
DIFF: https://github.com/llvm/llvm-project/commit/5dcd6afa20881490b38f3d88c4e59b0b4ff33551.diff
LOG: [mlir] Apply ClangTidyLegacy finding.
Prefer using 'override' instead of 'virtual'.
Added:
Modified:
mlir/include/mlir/Dialect/Bufferization/Transforms/OneShotAnalysis.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Bufferization/Transforms/OneShotAnalysis.h b/mlir/include/mlir/Dialect/Bufferization/Transforms/OneShotAnalysis.h
index 422a101040e15..4fb212024b1c1 100644
--- a/mlir/include/mlir/Dialect/Bufferization/Transforms/OneShotAnalysis.h
+++ b/mlir/include/mlir/Dialect/Bufferization/Transforms/OneShotAnalysis.h
@@ -130,7 +130,7 @@ class OneShotAnalysisState : public AnalysisState {
OneShotAnalysisState(const OneShotAnalysisState &) = delete;
- virtual ~OneShotAnalysisState() = default;
+ ~OneShotAnalysisState() override = default;
/// Return a reference to the BufferizationAliasInfo.
BufferizationAliasInfo &getAliasInfo() { return aliasInfo; }
More information about the Mlir-commits
mailing list