From: Johannes Doerfert Date: Wed, 7 Aug 2019 22:49:06 +0000 (+0000) Subject: [Attributor][NFC] remove leftover and format code X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14f4fb765f41d7985f1ec28ac53dd422feca8f69;p=llvm [Attributor][NFC] remove leftover and format code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368228 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/IPO/Attributor.h b/include/llvm/Transforms/IPO/Attributor.h index b4628350bf1..3eb7810db9a 100644 --- a/include/llvm/Transforms/IPO/Attributor.h +++ b/include/llvm/Transforms/IPO/Attributor.h @@ -687,7 +687,7 @@ protected: /// IRAttribute::manifest is defined in the Attributor.cpp. struct IRAttributeManifest { static ChangeStatus manifestAttrs(Attributor &A, IRPosition &IRP, - const ArrayRef &DeducedAttrs); + const ArrayRef &DeducedAttrs); }; /// Helper to tie a abstract state implementation to an abstract attribute. @@ -705,7 +705,8 @@ struct StateWrapper : public StateTy, public Base { /// Helper class that provides common functionality to manifest IR attributes. template -struct IRAttribute : public IRPosition, public Base, public IRAttributeManifest { +struct IRAttribute : public IRPosition, + public Base { ~IRAttribute() {} /// Constructors for the IRPosition.