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

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 28 23:56:30 PDT 2021


balazske added a comment.

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. The value is used to make the new note appear only at the last place where EOF is set.


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