Skip to content

Add MacroID check for ConvertDiagnostic for valid SourceLocation

Francisco Boni Neto requested to merge (removed):1.8 into 1.8

DiagnosticMessage can receive an empty and invalid file location from a macro location, resulting in assert error. Checking for a macro location now allows DiagnosticMessage to receive a proper file location from an eventual returned macro expansion location.

https://bugs.kde.org/show_bug.cgi?id=431168

Merge request reports