[clang][analyzer] Using CallDescription in StreamChecker.
authorBalázs Kéri <1.int32@gmail.com>
Thu, 31 Oct 2019 11:09:44 +0000 (12:09 +0100)
committerBalázs Kéri <1.int32@gmail.com>
Thu, 31 Oct 2019 11:38:50 +0000 (12:38 +0100)
commit4980c1333fa44d9676c407922d5482d813faa172
tree3b6c65e67b4e42d72e331b604a1d99c8c1005305
parent7e23f88d7ddf697000c945f6edacd21f424ad749
[clang][analyzer] Using CallDescription in StreamChecker.

Summary:
Recognization of function names is done now with the CallDescription
class instead of using IdentifierInfo. This means function name and
argument count is compared too.
A new check for filtering not global-C-functions was added.
Test was updated.

Reviewers: Szelethus, NoQ, baloghadamsoftware, Charusso

Reviewed By: Szelethus, NoQ, Charusso

Subscribers: rnkovacs, xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, donat.nagy, Charusso, dkrupp, Szelethus, gamesh411, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D67706
clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
clang/test/Analysis/stream.c
clang/test/Analysis/stream.cpp [new file with mode: 0644]