[PATCH] D132136: [clang] Perform implicit lvalue-to-rvalue cast with new interpreter

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 18 14:44:30 PDT 2022


shafik added inline comments.


================
Comment at: clang/lib/AST/ExprConstant.cpp:14938
+
+  if (E->getType().isNull())
+    return false;
----------------
Curious why these two checks don't go w/ the `::Evaluate(Result, Info, E)` below.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132136



More information about the cfe-commits mailing list