Browse Source

Merge topic 'unity_c_no_extensions' into release-3.27

7f7c443667 Unity: use C-style comments to work both with C and C++

Acked-by: Kitware Robot <[email protected]>
Tested-by: buildbot <[email protected]>
Merge-request: !8718
Brad King 2 years ago
parent
commit
71324ce879
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmLocalGenerator.cxx

+ 1 - 1
Source/cmLocalGenerator.cxx

@@ -2987,7 +2987,7 @@ void cmLocalGenerator::WriteUnitySourceInclude(
     unity_file << *beforeInclude << "\n";
   }
 
-  unity_file << "// NOLINTNEXTLINE(bugprone-suspicious-include)\n";
+  unity_file << "/* NOLINTNEXTLINE(bugprone-suspicious-include) */\n";
   unity_file << "#include \"" << sf_full_path << "\"\n";
 
   if (afterInclude) {