[PATCH] D132997: [clang][Interp] Handle DeclRefExpr of reference types

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 8 10:38:05 PDT 2022


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

LGTM aside from a request for a comment in the test, thanks!



================
Comment at: clang/test/AST/Interp/references.cpp:91
+
+static_assert(RefToMemberExpr() == 11, ""); // expected-error{{not an integral constant expression}}
----------------



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

https://reviews.llvm.org/D132997



More information about the cfe-commits mailing list