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
@@ -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) {