[all-commits] [llvm/llvm-project] 4980c1: [clang][analyzer] Using CallDescription in StreamC...

Balázs Kéri via All-commits all-commits at lists.llvm.org
Thu Oct 31 04:39:34 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4980c1333fa44d9676c407922d5482d813faa172
      https://github.com/llvm/llvm-project/commit/4980c1333fa44d9676c407922d5482d813faa172
  Author: Balázs Kéri <1.int32 at gmail.com>
  Date:   2019-10-31 (Thu, 31 Oct 2019)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
    M clang/test/Analysis/stream.c
    A clang/test/Analysis/stream.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list