================ @@ -9561,6 +9561,41 @@ class PointerExprEvaluator return true; } + bool VisitUnaryExprOrTypeTraitExpr(const UnaryExprOrTypeTraitExpr *E) { + // This is the only UETT we evaluate here. + assert(E->getKind() == UETT_PtrAuthSchemaOptions && + "Unknown UnaryExprOrTypeTraitExpr"); + + // Note for review: there are other UETTs down the road + // that make a switch make sense, but for now this is the only + // one should this just be an + // if (E->getKind() != UETT_PtrAuthSchemaOptions) + // return false; ---------------- ojhunt wrote:
- [ ] todo https://github.com/llvm/llvm-project/pull/138482 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits