[PATCH] D137706: [clang][Interp] Implement IntegralToPointer casts

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 9 05:02:45 PST 2022


tbaeder added inline comments.


================
Comment at: clang/lib/AST/Interp/ByteCodeExprGen.cpp:188-192
+    // == in C
+    if (const auto *BOP = dyn_cast<BinaryOperator>(SubExpr);
+        BOP && BOP->isEqualityOp())
+      return this->visit(SubExpr);
+    [[fallthrough]];
----------------
This is a tiny hack to get the C test working.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137706



More information about the cfe-commits mailing list