Commit b2374640 authored by Leandro Melo's avatar Leandro Melo Committed by Leandro T. C. Melo
Browse files

C++: Normalize line ending for preprocessing

There is logic in the preprocessor that assumes a normalized line
ending. Other patches have already fixed the issue in other parts.

Change-Id: Iac262da361b6528cc9466a6c87e83da95af9ea04

Reviewed-by: default avatarQt Sanity Bot <>
Reviewed-by: default avatarChristian Kamm <>
parent a2e9fadb
......@@ -332,7 +332,7 @@ bool CppPreprocessor::includeFile(const QString &absoluteFilePath, QString *resu
return false;
QFile file(absoluteFilePath);
if ( {
if ( | QFile::Text)) {
QTextStream stream(&file);
const QString contents = stream.readAll();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment