[analyzer][StdLibraryFunctionsChecker] Fix getline/getdelim signatures
authorGabor Marton <gabor.marton@ericsson.com>
Tue, 22 Sep 2020 13:02:00 +0000 (15:02 +0200)
committerGabor Marton <gabor.marton@ericsson.com>
Wed, 23 Sep 2020 08:48:14 +0000 (10:48 +0200)
commitd63a945a13048b66f06e222d8b0810d7db9592f6
tree2543a0bca0c7b96f047c0acb49a17af1e8f8f044
parente077367a28102128483f4b2555d2ad31e21b1965
[analyzer][StdLibraryFunctionsChecker] Fix getline/getdelim signatures

It is no longer needed to add summaries of 'getline' for different
possible underlying types of ssize_t. We can just simply lookup the
type.

Differential Revision: https://reviews.llvm.org/D88092
clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
clang/test/Analysis/std-c-library-functions.c