[PATCH] D77066: [analyzer] ApiModeling: Add buffer size arg constraint
Gabor Marton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 9 08:40:52 PDT 2020
martong marked an inline comment as done.
martong added inline comments.
================
Comment at: clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:253
+
+ // FIXME Implement a generic negate for all BO values.
+ assert(Tmp.Op == BO_LE && "Op should be <=");
----------------
Use BinaryOperator::negateComparisonOp
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77066/new/
https://reviews.llvm.org/D77066
More information about the cfe-commits
mailing list