diff options
author | Balázs Kéri <1.int32@gmail.com> | 2023-01-09 09:16:18 +0100 |
---|---|---|
committer | Balázs Kéri <1.int32@gmail.com> | 2023-01-09 09:49:08 +0100 |
commit | 570bf972f5adf05438c7e08d693bf4b96bfd510a (patch) | |
tree | fa45cefccec9e9cd0050feb4e3efadbf15c2330f /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 59b029238af27e6d77017d225cfe0ed1c2dd22f3 (diff) | |
download | llvm-570bf972f5adf05438c7e08d693bf4b96bfd510a.zip llvm-570bf972f5adf05438c7e08d693bf4b96bfd510a.tar.gz llvm-570bf972f5adf05438c7e08d693bf4b96bfd510a.tar.bz2 |
[clang][analyzer] Remove report of null stream from StreamChecker.
The case of NULL stream passed to stream functions was reported by StreamChecker.
The same condition is checked already by StdLibraryFunctionsChecker and it is
enough to check at one place. The StreamChecker stops now analysis if a passed NULL
stream is encountered but generates no report.
This change removes a dependency between StdCLibraryFunctionArgs checker and
StreamChecker. There is now no more specific message reported by StreamChecker,
the previous weak-dependency is not needed. And StreamChecker can be used
without StdCLibraryFunctions checker or its ModelPOSIX option.
Reviewed By: Szelethus
Differential Revision: https://reviews.llvm.org/D137790
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions