[clang] [Clang] Overflow Pattern Exclusion - rename some patterns, enhance docs (PR #105709)

Justin Stitt via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 25 11:23:33 PDT 2024


================
@@ -4806,6 +4806,34 @@ getOverflowPatternBinOp(const BinaryOperator *E) {
   return {};
 }
 
+/// Compute and set the OverflowPatternExclusion bit based on whether the
----------------
JustinStitt wrote:

I wanted to avoid calling `getOverflowPatternBinOp()` as it is more expensive than just checking if the flags are enabled or not.

https://github.com/llvm/llvm-project/pull/105709


More information about the cfe-commits mailing list