From 4a7f923fca40b1df29aa1b9d356e45ea21ae118c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 26 Dec 2017 22:12:30 +0100 Subject: [PATCH] astyle formatting [ci skip] --- lib/importproject.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/importproject.cpp b/lib/importproject.cpp index e14c41ba8..a2ffd9fe9 100644 --- a/lib/importproject.cpp +++ b/lib/importproject.cpp @@ -229,13 +229,11 @@ void ImportProject::importCompileCommands(std::istream &istr) if (command[pos] != '\\') { defval += command[pos]; escape = false; - } - else { + } else { if (escape) { defval += '\\'; escape = false; - } - else { + } else { escape = true; } } @@ -245,8 +243,7 @@ void ImportProject::importCompileCommands(std::istream &istr) if (!defval.empty()) fs.defines += defval; fs.defines += ';'; - } - else if (F=='U') + } else if (F=='U') fs.undefs.insert(fval); else if (F=='I') fs.includePaths.push_back(fval);