[PATCH] D133286: [NFC] Add `DebugVariable` constructor that takes `DbgVariableIntrinsic *`

Orlando Cazalet-Hyams via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 20 07:29:39 PDT 2022


Orlando added a comment.

Thanks



================
Comment at: llvm/include/llvm/IR/DebugInfoMetadata.h:3727
 public:
+  DebugVariable(DbgVariableIntrinsic *DII);
+
----------------
jryans wrote:
> It seems like it could be `const` and still access everything you need here...?
Good catch. Done.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133286



More information about the llvm-commits mailing list