IOutputParser: Make sure to not cut too much output
Introduce a method to cut away whitespaces from the end of a string
and use it consistently. This avoids a chain of parsers to repeatedly
cut away the last character, assuming that will be the line-break.
Task-number: QTCREATORBUG-9032
Change-Id: I68261c10873535faf94c885c914cd00510ed75d8
Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
Showing
- src/plugins/projectexplorer/clangparser.cpp 3 additions, 5 deletionssrc/plugins/projectexplorer/clangparser.cpp
- src/plugins/projectexplorer/gccparser.cpp 2 additions, 2 deletionssrc/plugins/projectexplorer/gccparser.cpp
- src/plugins/projectexplorer/gnumakeparser.cpp 2 additions, 2 deletionssrc/plugins/projectexplorer/gnumakeparser.cpp
- src/plugins/projectexplorer/ioutputparser.cpp 10 additions, 0 deletionssrc/plugins/projectexplorer/ioutputparser.cpp
- src/plugins/projectexplorer/ioutputparser.h 2 additions, 0 deletionssrc/plugins/projectexplorer/ioutputparser.h
- src/plugins/projectexplorer/ldparser.cpp 1 addition, 1 deletionsrc/plugins/projectexplorer/ldparser.cpp
- src/plugins/qt4projectmanager/qmakeparser.cpp 1 addition, 1 deletionsrc/plugins/qt4projectmanager/qmakeparser.cpp
- src/plugins/qtsupport/qtparser.cpp 1 addition, 1 deletionsrc/plugins/qtsupport/qtparser.cpp
Loading
Please register or sign in to comment