tbaeder added inline comments.

================
Comment at: clang/lib/AST/Interp/Interp.cpp:60
+  S.Current =
+      new InterpFrame(S, const_cast<Function *>(Func), S.Current, PC, {});
+
----------------
This patch adds two `const_cast`s. They aren't strictly necessary, since the 
`InterpFrame` doesn't need to modify the function. I have a local NFC patch to 
add `const` to a few places to make this work.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132286

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to