Changeset View
Changeset View
Standalone View
Standalone View
outputview/outputfilteringstrategies.cpp
Show First 20 Lines • Show All 408 Lines • ▼ Show 20 Line(s) | 388 | static const ErrorFormat NATIVE_APPLICATION_ERROR_FILTERS[] = { | |||
---|---|---|---|---|---|
409 | // Actual ... | 409 | // Actual ... | ||
410 | // Expected ... | 410 | // Expected ... | ||
411 | // Loc: [/foo/bar.cpp(33)] | 411 | // Loc: [/foo/bar.cpp(33)] | ||
412 | // | 412 | // | ||
413 | // Do *not* catch: | 413 | // Do *not* catch: | ||
414 | // ... | 414 | // ... | ||
415 | // Loc: [Unknown file(0)] | 415 | // Loc: [Unknown file(0)] | ||
416 | ErrorFormat(QStringLiteral(" Loc: \\[(.*)\\(([1-9][0-9]*)\\)\\]"), 1, 2, -1), | 416 | ErrorFormat(QStringLiteral(" Loc: \\[(.*)\\(([1-9][0-9]*)\\)\\]"), 1, 2, -1), | ||
417 | | ||||
417 | // file:///path/to/foo.qml:7:1: Bar is not a type | 418 | // file:///path/to/foo.qml:7:1: Bar is not a type | ||
418 | ErrorFormat(QStringLiteral("(file:\\/\\/(?:.+)):([1-9][0-9]*):([1-9][0-9]*): (.+) (?:is not a type|is ambiguous\\.|is instantiated recursively)"), 1, 2, -1, 3) | 419 | // file:///path/to/foo.qml:49:5: QML Row: Binding loop detected for property "height" | ||
420 | ErrorFormat(QStringLiteral("(file:\\/\\/(?:[^:]+)):([1-9][0-9]*):([1-9][0-9]*): (.*) (?:is not a type|is ambiguous|is instantiated recursively|Binding loop detected)"), 1, 2, -1, 3), | ||||
421 | | ||||
422 | // file:///path/to/foo.qml:52: TypeError: Cannot read property 'height' of null | ||||
423 | ErrorFormat(QStringLiteral("(file:\\/\\/(?:[^:]+)):([1-9][0-9]*): ([a-zA-Z]+)Error"), 1, 2, -1), | ||||
419 | 424 | | |||
420 | // END: Qt | 425 | // END: Qt | ||
421 | }; | 426 | }; | ||
422 | 427 | | |||
423 | return match(NATIVE_APPLICATION_ERROR_FILTERS, line); | 428 | return match(NATIVE_APPLICATION_ERROR_FILTERS, line); | ||
424 | } | 429 | } | ||
425 | 430 | | |||
426 | /// --- Static Analysis filter strategy --- | 431 | /// --- Static Analysis filter strategy --- | ||
Show All 26 Lines |