[PATCH] D84532: [Attributor] Fix qualifier warning of the unittest
Kuter Dinel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 24 20:25:51 PDT 2020
kuter added inline comments.
================
Comment at: llvm/unittests/Transforms/IPO/AttributorTest.cpp:47
- AbstractAttribute *AA = (AbstractAttribute *)&(
+ const AbstractAttribute *AA = (const AbstractAttribute *)&(
A.getOrCreateAAFor<AAIsDead>(IRPosition::function(*F)));
----------------
I think this should be a C++ cast.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84532/new/
https://reviews.llvm.org/D84532
More information about the llvm-commits
mailing list