[PATCH] D153612: [clang][analyzer] Add and change NoteTags in StdLibraryFunctionsChecker.
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 12 01:39:28 PDT 2023
balazske marked 3 inline comments as done.
balazske added inline comments.
================
Comment at: clang/test/Analysis/stream-note.c:61-62
FILE *F1 = fopen("foo1.c", "r"); // expected-note {{Stream opened here}}
+ // stdargs-note at -1 {{'fopen' is successful}}
+ // stdargs-note at -2 {{'fopen' is successful}}
if (!F1)
----------------
steakhal wrote:
> Why are these notes doubled?
There are 2 cases of resource leak reported (for `F1` and `F2`) and a note tag is there for both of these.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153612/new/
https://reviews.llvm.org/D153612
More information about the cfe-commits
mailing list