<table><tr><td style="">dhaumann created this revision.<br />dhaumann added a reviewer: vkrause.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D9139" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Try detecting unused contexts. This is only a heuristic,<br />
since a context might be cross-included via IncludeRules.</p>

<p>Possible unused contexts:<br />
ContextChecker::check: "abc.xml" Unused contexts: QSet("Part")<br />
ContextChecker::check: "ample.xml" Unused contexts: QSet("Outscoped", "AfterHash", "Region Marker")<br />
ContextChecker::check: "ansys.xml" Unused contexts: QSet("functions", "functions_arg")<br />
ContextChecker::check: "asterisk.xml" Unused contexts: QSet("Commentar 1")<br />
ContextChecker::check: "boo.xml" Unused contexts: QSet("Single A-comment", "Single Q-comment")<br />
ContextChecker::check: "cg.xml" Unused contexts: QSet("Outscoped", "Commentar/Preprocessor")<br />
ContextChecker::check: "cisco.xml" Unused contexts: QSet("Parameter", "String")<br />
ContextChecker::check: "dosbat.xml" Unused contexts: QSet("Assign")<br />
ContextChecker::check: "elixir.xml" Unused contexts: QSet("regexpr_rules", "Comment Line", "Find closing block brace")<br />
ContextChecker::check: "email.xml" Unused contexts: QSet("body-context")<br />
ContextChecker::check: "fasm.xml" Unused contexts: QSet("Preprocessor")<br />
ContextChecker::check: "ferite.xml" Unused contexts: QSet("unknown 2", "unknown")<br />
ContextChecker::check: "fgl-4gl.xml" Unused contexts: QSet("Normal Text 2", "Normal Text 3")<br />
ContextChecker::check: "fgl-per.xml" Unused contexts: QSet("Normal Text 2", "Normal Text 3")<br />
ContextChecker::check: "ftl.xml" Unused contexts: QSet("comment", "values")<br />
ContextChecker::check: "gcc.xml" Unused contexts: QSet("GNUMacros")<br />
ContextChecker::check: "haml.xml" Unused contexts: QSet("comment0", "comment2", "stringx", "Comment Line", "string")<br />
ContextChecker::check: "ilerpg.xml" Unused contexts: QSet("EvalOCCont")<br />
ContextChecker::check: "isocpp.xml" Unused contexts: QSet("DetectIdentifierEnd")<br />
ContextChecker::check: "jam.xml" Unused contexts: QSet("RuleDefinitionFull")<br />
ContextChecker::check: "julia.xml" Unused contexts: QSet("squared", "nested", "curly")<br />
ContextChecker::check: "kotlin.xml" Unused contexts: QSet("symbols")<br />
ContextChecker::check: "latex.xml" Unused contexts: QSet("ToEndOfLine")<br />
ContextChecker::check: "metafont.xml" Unused contexts: QSet("ToEndOfLine")<br />
ContextChecker::check: "modula-2.xml" Unused contexts: QSet("Comment3")<br />
ContextChecker::check: "nesc.xml" Unused contexts: QSet("Some Context2", "Some Context")<br />
ContextChecker::check: "perl.xml" Unused contexts: QSet("package_qualified_blank", "end_handle")<br />
ContextChecker::check: "povray.xml" Unused contexts: QSet("Commentar")<br />
ContextChecker::check: "protobuf.xml" Unused contexts: QSet("Commentar")<br />
ContextChecker::check: "ruby.xml" Unused contexts: QSet("Comment Line")<br />
ContextChecker::check: "sisu.xml" Unused contexts: QSet("indent")<br />
ContextChecker::check: "stata.xml" Unused contexts: QSet("Base", "Comment 2")<br />
ContextChecker::check: "systemverilog.xml" Unused contexts: QSet("Define", "Outscoped")<br />
ContextChecker::check: "tcsh.xml" Unused contexts: QSet("AssignSubscr", "SubstFile", "ProcessSubst", "HereDoc", "SubstCommand")<br />
ContextChecker::check: "varnishtest.xml" Unused contexts: QSet("varnish_expectation_arg1_brace-string", "varnish_expectation_arg1_quoted-string", "varnish_expectation_arg1_unquoted-string")<br />
ContextChecker::check: "varnishtest4.xml" Unused contexts: QSet("varnish_expectation_arg1_brace-string", "varnish_expectation_arg1_quoted-string", "varnish_expectation_arg1_unquoted-string")<br />
ContextChecker::check: "verilog.xml" Unused contexts: QSet("Some Context2", "Port")<br />
ContextChecker::check: "xharbour.xml" Unused contexts: QSet("logic")<br />
ContextChecker::check: "xmldebug.xml" Unused contexts: QSet("51:unused", "45:Enumeration or End")</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>make && make test</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R216 Syntax Highlighting</div></div></div><br /><div><strong>BRANCH</strong><div><div>UnusedContextChecker (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9139" rel="noreferrer">https://phabricator.kde.org/D9139</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/indexer/katehighlightingindexer.cpp</div></div></div><br /><div><strong>To: </strong>dhaumann, vkrause<br /><strong>Cc: </strong>Frameworks<br /></div>