[PATCH] D22090: [analyzer] Add more FileIDs to PlistDiagnostic map

Aleksei Sidorin via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 7 06:04:19 PDT 2016


a.sidorin created this revision.
a.sidorin added reviewers: zaks.anna, dcoughlin.
a.sidorin added a subscriber: cfe-commits.

Some FileIDs that may be used by PlistDiagnostics are not added while building a list of pieces. This leads to assertion violation in `GetFID()` function. This patch tries to add such missing FileIDs. It also contains small refactoring of this piece of code.

Authors: Aleksei Sidorin, Ilya Palachev.

http://reviews.llvm.org/D22090

Files:
  lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
  test/Analysis/diagnostics/Inputs/include/SomeMacro.def
  test/Analysis/diagnostics/Inputs/include/Something.h
  test/Analysis/diagnostics/plist-diagnostics-include-check.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22090.63062.patch
Type: text/x-patch
Size: 4044 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160707/e218b1ab/attachment.bin>


More information about the cfe-commits mailing list