[clang] [Clang][Interp] Implement constexpr vector unary operators +, -, ~, ! (PR #105996)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 26 00:11:47 PDT 2024


================
@@ -139,6 +139,7 @@ class Compiler : public ConstStmtVisitor<Compiler<Emitter>, bool>,
   bool VisitGNUNullExpr(const GNUNullExpr *E);
   bool VisitCXXThisExpr(const CXXThisExpr *E);
   bool VisitUnaryOperator(const UnaryOperator *E);
+  bool VisitVectorUnaryOp(const UnaryOperator *E);
----------------
tbaederr wrote:

```suggestion
  bool VisitVectorUnaryOperator(const UnaryOperator *E);
```

https://github.com/llvm/llvm-project/pull/105996


More information about the cfe-commits mailing list