eranif / codelite

A multi purpose IDE specialized in C/C++/Rust/Python/PHP and Node.js. Written in C++
https://codelite.org
GNU General Public License v2.0
2.09k stars 448 forks source link

Switch to more faster regexps for gcc/clang #3305

Closed rozhuk-im closed 4 months ago

rozhuk-im commented 5 months ago

This dramatically improve compiler output lines parsing. May be some thing missed, but most useful messages handled.

rozhuk-im commented 5 months ago

regexp from: https://egeek.me/2015/03/20/jenkins-custom-clang-warnings-parser/

eranif commented 4 months ago

My main problem with this PR is that these regex expressions were built over the years and they cover, well, I think - everything. Your changes might be faster (actually, I am sure they are..) but there were not tested. I putting this PR on hold until I release CodeLite 18.0.0 - hopefully, this weekend

rozhuk-im commented 4 months ago

Thanks!

Ping me if found some unhandled compiler/linker output.