[clang] [Clang] Introduce OverflowBehaviorType for fine-grained overflow control (PR #148914)
Justin Stitt via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 27 15:47:54 PDT 2025
================
@@ -405,6 +405,9 @@ ArgType::matchesType(ASTContext &C, QualType argTy) const {
argTy = PT->getPointeeType();
}
+ if (const auto *OBT = argTy->getAs<OverflowBehaviorType>())
+ argTy = OBT->getUnderlyingType();
----------------
JustinStitt wrote:
Done in [4f3062d](https://github.com/llvm/llvm-project/pull/148914/commits/4f3062dca4f7627b04bceb456b5ad4d0a8d68eee), thanks.
https://github.com/llvm/llvm-project/pull/148914
More information about the cfe-commits
mailing list