[PATCH] D104925: [Analyzer] Improve report of file read at end-of-file condition.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 29 13:50:05 PDT 2021


NoQ added a comment.

In D104925#2846283 <https://reviews.llvm.org/D104925#2846283>, @balazske wrote:

> I could not find a way to pass the needed information from the BugReport to the `NoteTag`. The "sequence number" (in `EofSeqMap`) is only known when the bug is detected, this should be passed to the `NoteTag` somehow.

You can //capture// it.

That's the whole point of note tags, to have access to all the information from both the bug report and the moment of time the event has happened.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104925/new/

https://reviews.llvm.org/D104925



More information about the cfe-commits mailing list