[clang] [-Wunsafe-buffer-usage] Check isValueDependent before EvaluateAsBooleanCondition (PR #172091)

Ziqing Luo via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 12 14:00:23 PST 2025


================
@@ -781,40 +817,6 @@ struct LibcFunNamePrefixSuffixParser {
   }
 };
 
-// Constant fold a conditional expression 'cond ? A : B' to
----------------
ziqingluo-90 wrote:

Pulled the two functions out of the `libc_func_matchers ` namespace since they are more general.

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


More information about the cfe-commits mailing list