[PATCH] D49112: [Sema] Implement -Wmemset-transposed-args
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 19 05:44:48 PDT 2018
aaron.ballman accepted this revision.
aaron.ballman added a comment.
LGTM aside from a minor nit.
================
Comment at: clang/lib/Sema/SemaChecking.cpp:8751
+
+ if (auto *BO = dyn_cast<BinaryOperator>(SizeofExpr)) {
+ if (BO->getOpcode() != BO_Mul && BO->getOpcode() != BO_Add)
----------------
`const auto *`
https://reviews.llvm.org/D49112
More information about the cfe-commits
mailing list