D9125: Validate that for all attributes an itemData exists

Dominik Haumann noreply at phabricator.kde.org
Sun Dec 3 13:09:51 UTC 2017


dhaumann created this revision.
dhaumann added a reviewer: vkrause.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  This patch adds a check at compile time that verifies that for
  all refereced attributes an itemData item must exist. If not,
  a failure is raised, stopping the process of creating the Qt
  resource file that contains the syntax highlighting files.
  
  Currently, only warnings are raised (no compile time error),
  since there are still some remaining issues that need to be
  fixed before we can change to a compile-time error.

TEST PLAN
  make && make test && make install

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  AttributeChecker

REVISION DETAIL
  https://phabricator.kde.org/D9125

AFFECTED FILES
  src/indexer/katehighlightingindexer.cpp

To: dhaumann, vkrause
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171203/714c8c22/attachment.html>


More information about the Kde-frameworks-devel mailing list