show full error path in xml files
This commit is contained in:
parent
a20fb4f36a
commit
7af58cf31a
|
@ -169,7 +169,7 @@ protected:
|
||||||
ErrorPath errorPath;
|
ErrorPath errorPath;
|
||||||
if (!value) {
|
if (!value) {
|
||||||
errorPath.push_back(ErrorPathItem(errtok,bug));
|
errorPath.push_back(ErrorPathItem(errtok,bug));
|
||||||
} else if (_settings->verbose || _settings->outputFormat == "clang") {
|
} else if (_settings->verbose || _settings->xml || _settings->outputFormat == "clang") {
|
||||||
errorPath = value->errorPath;
|
errorPath = value->errorPath;
|
||||||
errorPath.push_back(ErrorPathItem(errtok,bug));
|
errorPath.push_back(ErrorPathItem(errtok,bug));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue