[PATCH] D132098: [clang][Interp] Implement inv and neg unary operations

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 18 12:22:03 PDT 2022


shafik added inline comments.


================
Comment at: clang/lib/AST/Interp/ByteCodeExprGen.cpp:131
+
+      return this->emitNE(*T, SubExpr);
+    }
----------------
Can you explain this line?


================
Comment at: clang/lib/AST/Interp/Interp.h:183
+
+  S.Stk.push<T>(Val);
+  return true;
----------------
Shouldn't this be 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132098



More information about the cfe-commits mailing list