[llvm] fbd33ba - [NFC][Attributor] Add missing override
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 9 23:30:55 PDT 2020
Author: Vitaly Buka
Date: 2020-08-09T23:30:42-07:00
New Revision: fbd33baa27f8acce24ea58013fda0c2421c928f9
URL: https://github.com/llvm/llvm-project/commit/fbd33baa27f8acce24ea58013fda0c2421c928f9
DIFF: https://github.com/llvm/llvm-project/commit/fbd33baa27f8acce24ea58013fda0c2421c928f9.diff
LOG: [NFC][Attributor] Add missing override
Added:
Modified:
llvm/include/llvm/Transforms/IPO/Attributor.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/IPO/Attributor.h b/llvm/include/llvm/Transforms/IPO/Attributor.h
index a6df1a993e04..b1394d357324 100644
--- a/llvm/include/llvm/Transforms/IPO/Attributor.h
+++ b/llvm/include/llvm/Transforms/IPO/Attributor.h
@@ -3367,18 +3367,18 @@ struct PotentialValuesState : AbstractState {
PotentialValuesState(bool IsValid) : IsValidState(IsValid) {}
/// See AbstractState::isValidState(...)
- bool isValidState() const { return IsValidState.isValidState(); }
+ bool isValidState() const override { return IsValidState.isValidState(); }
/// See AbstractState::isAtFixpoint(...)
- bool isAtFixpoint() const { return IsValidState.isAtFixpoint(); }
+ bool isAtFixpoint() const override { return IsValidState.isAtFixpoint(); }
/// See AbstractState::indicatePessimisticFixpoint(...)
- ChangeStatus indicatePessimisticFixpoint() {
+ ChangeStatus indicatePessimisticFixpoint() override {
return IsValidState.indicatePessimisticFixpoint();
}
/// See AbstractState::indicateOptimisticFixpoint(...)
- ChangeStatus indicateOptimisticFixpoint() {
+ ChangeStatus indicateOptimisticFixpoint() override {
return IsValidState.indicateOptimisticFixpoint();
}
More information about the llvm-commits
mailing list