[PATCH] D137563: [clang][Interp] Check declarations for constexpr-ness in Load() instructions

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 9 04:53:10 PST 2022


tbaeder added a comment.

This is wrong if the (constant) initializer is for a legitimate non-constexpr variable declaration. We do a load in `visitDecl()`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137563



More information about the cfe-commits mailing list