[PATCH] D67170: [Attributor] Ensure AAIsDead correctly overrides getIRPosition

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 09:05:28 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL370914: [Attributor] Ensure AAIsDead correctly overrides getIRPosition (authored by RKSimon, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D67170?vs=218685&id=218725#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67170/new/

https://reviews.llvm.org/D67170

Files:
  llvm/trunk/include/llvm/Transforms/IPO/Attributor.h


Index: llvm/trunk/include/llvm/Transforms/IPO/Attributor.h
===================================================================
--- llvm/trunk/include/llvm/Transforms/IPO/Attributor.h
+++ llvm/trunk/include/llvm/Transforms/IPO/Attributor.h
@@ -1418,8 +1418,8 @@
   /// Return an IR position, see struct IRPosition.
   ///
   ///{
-  IRPosition &getIRPosition() { return *this; }
-  const IRPosition &getIRPosition() const { return *this; }
+  IRPosition &getIRPosition() override { return *this; }
+  const IRPosition &getIRPosition() const override { return *this; }
   ///}
 
   /// Create an abstract attribute view for the position \p IRP.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67170.218725.patch
Type: text/x-patch
Size: 643 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190904/adf979e3/attachment.bin>


More information about the llvm-commits mailing list