[clang] [Clang] Introduce OverflowBehaviorType for fine-grained overflow control (PR #148914)
Matheus Izvekov via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 22 19:56:23 PDT 2025
================
@@ -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
More information about the cfe-commits
mailing list