File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -580,13 +580,14 @@ bool c_preprocess_gcc_clang(
580
580
argv.push_back (" -nostdinc" );
581
581
582
582
// Set the standard
583
- if (has_suffix (file, " .cpp" ) || has_suffix (file, " .CPP" ) ||
584
- #ifndef _WIN32
585
- has_suffix (file, " .C" ) ||
586
- #endif
587
- has_suffix (file, " .c++" ) || has_suffix (file, " .C++" ) ||
588
- has_suffix (file, " .cp" ) || has_suffix (file, " .CP" ) ||
589
- has_suffix (file, " .cc" ) || has_suffix (file, " .cxx" ))
583
+ if (
584
+ has_suffix (file, " .cpp" ) || has_suffix (file, " .CPP" ) ||
585
+ #ifndef _WIN32
586
+ has_suffix (file, " .C" ) ||
587
+ #endif
588
+ has_suffix (file, " .c++" ) || has_suffix (file, " .C++" ) ||
589
+ has_suffix (file, " .cp" ) || has_suffix (file, " .CP" ) ||
590
+ has_suffix (file, " .cc" ) || has_suffix (file, " .cxx" ))
590
591
{
591
592
switch (config.cpp .cpp_standard )
592
593
{
You can’t perform that action at this time.
0 commit comments