[llvm] r368228 - [Attributor][NFC] remove leftover and format code
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 7 15:49:06 PDT 2019
Author: jdoerfert
Date: Wed Aug 7 15:49:06 2019
New Revision: 368228
URL: http://llvm.org/viewvc/llvm-project?rev=368228&view=rev
Log:
[Attributor][NFC] remove leftover and format code
Modified:
llvm/trunk/include/llvm/Transforms/IPO/Attributor.h
Modified: llvm/trunk/include/llvm/Transforms/IPO/Attributor.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/IPO/Attributor.h?rev=368228&r1=368227&r2=368228&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/IPO/Attributor.h (original)
+++ llvm/trunk/include/llvm/Transforms/IPO/Attributor.h Wed Aug 7 15:49:06 2019
@@ -687,7 +687,7 @@ protected:
/// IRAttribute::manifest is defined in the Attributor.cpp.
struct IRAttributeManifest {
static ChangeStatus manifestAttrs(Attributor &A, IRPosition &IRP,
- const ArrayRef<Attribute> &DeducedAttrs);
+ const ArrayRef<Attribute> &DeducedAttrs);
};
/// Helper to tie a abstract state implementation to an abstract attribute.
@@ -705,7 +705,8 @@ struct StateWrapper : public StateTy, pu
/// Helper class that provides common functionality to manifest IR attributes.
template <Attribute::AttrKind AK, typename Base>
-struct IRAttribute : public IRPosition, public Base, public IRAttributeManifest {
+struct IRAttribute : public IRPosition,
+ public Base {
~IRAttribute() {}
/// Constructors for the IRPosition.
More information about the llvm-commits
mailing list