================ @@ -5674,6 +5675,11 @@ QualType getApproximateType(const Expr *E) { return getApproximateType(VD->getInit()); } } + if (const auto *UO = llvm::dyn_cast<UnaryOperator>(E)) { + if (UO->getOpcode() == UnaryOperatorKind::UO_Deref) { ---------------- zyn0217 wrote:
nit: We [don't](https://llvm.org/docs/CodingStandards.html#don-t-use-braces-on-simple-single-statement-bodies-of-if-else-loop-statements) usually wrap a single statement with braces. https://github.com/llvm/llvm-project/pull/86466 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits