Skip to content

Commit 60c40ad

Browse files
author
Dave Bartolomeo
committed
C++: Fix formatting
1 parent 914288d commit 60c40ad

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

cpp/ql/src/semmle/code/cpp/Preprocessor.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,7 @@ class PreprocessorUndef extends PreprocessorDirective, @ppd_undef {
215215
*/
216216
class PreprocessorPragma extends PreprocessorDirective, @ppd_pragma {
217217
override string toString() {
218-
if exists(this.getHead())
219-
then result = "#pragma " + this.getHead()
220-
else result = "#pragma"
218+
if exists(this.getHead()) then result = "#pragma " + this.getHead() else result = "#pragma"
221219
}
222220
}
223221

0 commit comments

Comments
 (0)