[llvm] r365938 - Addition to rL365925, removing remaining virtuals
Stefan Stipanovic via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 12 11:34:06 PDT 2019
Author: sstefan
Date: Fri Jul 12 11:34:06 2019
New Revision: 365938
URL: http://llvm.org/viewvc/llvm-project?rev=365938&view=rev
Log:
Addition to rL365925, removing remaining virtuals
Modified:
llvm/trunk/lib/Transforms/IPO/Attributor.cpp
Modified: llvm/trunk/lib/Transforms/IPO/Attributor.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/Attributor.cpp?rev=365938&r1=365937&r2=365938&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/Attributor.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/Attributor.cpp Fri Jul 12 11:34:06 2019
@@ -742,22 +742,22 @@ struct AANoSyncFunction : AANoSync, Bool
/// }
/// See AbstractAttribute::getManifestPosition().
- virtual ManifestPosition getManifestPosition() const override {
+ ManifestPosition getManifestPosition() const override {
return MP_FUNCTION;
}
- virtual const std::string getAsStr() const override {
+ const std::string getAsStr() const override {
return getAssumed() ? "nosync" : "may-sync";
}
/// See AbstractAttribute::updateImpl(...).
- virtual ChangeStatus updateImpl(Attributor &A) override;
+ ChangeStatus updateImpl(Attributor &A) override;
/// See AANoSync::isAssumedNoSync()
- virtual bool isAssumedNoSync() const override { return getAssumed(); }
+ bool isAssumedNoSync() const override { return getAssumed(); }
/// See AANoSync::isKnownNoSync()
- virtual bool isKnownNoSync() const override { return getKnown(); }
+ bool isKnownNoSync() const override { return getKnown(); }
/// Helper function used to determine whether an instruction is non-relaxed
/// atomic. In other words, if an atomic instruction does not have unordered
More information about the llvm-commits
mailing list