================
@@ -870,6 +870,42 @@
ASTContext::insertCanonicalTemplateTemplateParmDeclInternal(
return CanonTTP;
}
+/// For the purposes of overflow pattern exclusion, does this match the
+/// while(i--) pattern?
+static bool matchesPostDecrInWhile(const UnaryOperator *UO, ASTContext &Ctx) {
----------------
mizvekov wrote:
I am more concerned that these functions don't seem like a good fit for being
part of ASTContext, maybe we can find a better home for them.
https://github.com/llvm/llvm-project/pull/148914
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits