MCPcopy Create free account
hub / github.com/KDE/kdevelop / ErrorFormat

Class ErrorFormat

kdevplatform/outputview/outputformats.h:28–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26};
27
28struct ErrorFormat
29{
30 ErrorFormat() = default;
31 ErrorFormat( const QString& regExp, int file, int line, int text, int column=-1 );
32 ErrorFormat( const QString& regExp, int file, int line, int text, const QString& comp, int column=-1 );
33 QRegularExpression expression;
34 int fileGroup;
35 int lineGroup, columnGroup;
36 int textGroup;
37 QString compiler;
38
39 // Returns the column number starting with 0 as the first column
40 // If no match was found for columns or if index was not valid
41 // (i.e. less than zero) - 0 is returned.
42 int columnNumber(const QRegularExpressionMatch& match) const;
43};
44
45}
46#endif

Callers 1

errorInLineMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected