[PATCH] D77278: Remove asserting getters from base Type

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 21:13:11 PDT 2020


efriedma added inline comments.


================
Comment at: llvm/lib/IR/Type.cpp:156
+  return const_cast<Type *>(this);
+}
+
----------------
It probably makes sense to make this an inline function in DerivedTypes.h


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77278





More information about the llvm-commits mailing list