This revision was automatically updated to reflect the committed changes.
Closed by commit rGa7cb951fa40d: [Analyzer][StdLibraryFunctionsChecker]
Describe arg constraints (authored by martong).
Changed prior to commit:
https://reviews.llvm.org/D101060?vs=33&id=340048#toc
Repository:
rG L
vsavchenko added a comment.
Awesome, thanks!
LGTM now!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101060/new/
https://reviews.llvm.org/D101060
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
martong updated this revision to Diff 33.
martong marked an inline comment as done.
martong added a comment.
- Start arg index display from 1.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101060/new/
https://reviews.llvm.org/D101060
Files:
martong marked an inline comment as done.
martong added inline comments.
Comment at:
clang/test/Analysis/std-c-library-functions-arg-constraints-notes.cpp:32
+__buf_size_arg_constraint_concrete(buf); // \
+// expected-note{{The size of the 0th arg should be equal to or l
vsavchenko added inline comments.
Comment at:
clang/test/Analysis/std-c-library-functions-arg-constraints-notes.cpp:32
+__buf_size_arg_constraint_concrete(buf); // \
+// expected-note{{The size of the 0th arg should be equal to or less than
the value of 10}} \
+// e
martong updated this revision to Diff 339934.
martong marked 3 inline comments as done.
martong added a comment.
- Assert on SizeArgN
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101060/new/
https://reviews.llvm.org/D101060
Files:
clang/lib/Sta
martong marked 3 inline comments as done.
martong added a comment.
Thanks for the review Valeriy!
Comment at:
clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:338-339
}
+llvm_unreachable("The constraint must be either a concrete value or "
+
vsavchenko added a comment.
Great job! Thanks!
Comment at:
clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:338-339
}
+llvm_unreachable("The constraint must be either a concrete value or "
+ "encoded in an argument.");
martong updated this revision to Diff 339603.
martong marked an inline comment as not done.
martong added a comment.
- Put back first line
- Remove wrong comment
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101060/new/
https://reviews.llvm.org/D10
martong added inline comments.
Comment at: clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1
-//=== StdLibraryFunctionsChecker.cpp - Model standard functions -*- C++
-*-===//
//
upsz
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST A
martong created this revision.
martong added reviewers: steakhal, NoQ, vsavchenko.
Herald added subscribers: ASDenysPetrov, Charusso, gamesh411, dkrupp,
donat.nagy, Szelethus, mikhail.ramalho, a.sidorin, rnkovacs, szepet,
baloghadamsoftware, xazax.hun, whisperity.
Herald added a reviewer: Szeleth
11 matches
Mail list logo