Klasse CodeCheckerParser

Alle implementierten Schnittstellen:
Serializable

public class CodeCheckerParser extends LookaheadParser
A parser for the clang-tidy static analysis warnings parsed by Codechecker. Codechecker parses the *.plist files and converts it into plain text file.

Better for human readers and for using grep and diff. It also puts the human-readable Severity at the start of a line.

Siehe auch:
  • Konstruktordetails

    • CodeCheckerParser

      public CodeCheckerParser()
      Creates a new instance of CodeCheckerParser.
  • Methodendetails

    • createIssue

      protected Optional<Issue> createIssue(Matcher matcher, edu.hm.hafner.util.LookaheadStream lookahead, IssueBuilder builder)
      Beschreibung aus Klasse kopiert: LookaheadParser
      Creates a new issue for the specified pattern. This method is called for each matching line in the specified file. If a match is a false positive, then return Optional.empty() to ignore this warning.
      Angegeben von:
      createIssue in Klasse LookaheadParser
      Parameter:
      matcher - the regular expression matcher
      lookahead - the lookahead stream to read additional lines
      builder - the issue builder to use
      Gibt zurück:
      a new annotation for the specified pattern