]> granicus.if.org Git - llvm/commitdiff
[Attributor][NFC] remove leftover and format code
authorJohannes Doerfert <jdoerfert@anl.gov>
Wed, 7 Aug 2019 22:49:06 +0000 (22:49 +0000)
committerJohannes Doerfert <jdoerfert@anl.gov>
Wed, 7 Aug 2019 22:49:06 +0000 (22:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368228 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/IPO/Attributor.h

index b4628350bf14ae048d84bab1c52b9f246d82f09d..3eb7810db9afc107d1a994fd66b3992f99d9376d 100644 (file)
@@ -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, public Base {
 
 /// 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.