[PATCH] D80009: [Analyzer][StreamChecker] Changed representation of stream error state - NFC.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 15 07:00:25 PDT 2020


balazske created this revision.
Herald added subscribers: cfe-commits, ASDenysPetrov, martong, Charusso, gamesh411, dkrupp, donat.nagy, Szelethus, mikhail.ramalho, a.sidorin, szepet, baloghadamsoftware, xazax.hun.
Herald added a reviewer: Szelethus.
Herald added a project: clang.

State of error flags for a stream is handled by having separate flags
that allow combination of multiple error states to be described with one
error state object.
After a failed function the error state is set in the stream state
and must not be determined later based on the last failed function
like before this change. The error state can not always be determined
from the last failed function and it was not the best design.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80009

Files:
  clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80009.264230.patch
Type: text/x-patch
Size: 15616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200515/fd5a5761/attachment-0001.bin>


More information about the cfe-commits mailing list