summaryrefslogtreecommitdiff
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-04-05 15:46:26 -0400
committerBrad King <brad.king@kitware.com>2023-04-05 16:12:15 -0400
commit2daba01ddf3f79bd4718680ef322f39366eeefef (patch)
tree4596ebd73af6e29568011d2f4fa708f1739d8903 /Source/cmGeneratorTarget.cxx
parent850b4d990c1bf15b70cc5dab9794066ab0f1d948 (diff)
downloadcmake-2daba01ddf3f79bd4718680ef322f39366eeefef.tar.gz
cmGeneratorTarget: Avoid incidental include-what-you-use warning
Avoid `warning: Extra tokens on pragma line` from IWYU.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index bc5505f89c..81e95a75c8 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -8977,10 +8977,10 @@ std::string cmGeneratorTarget::GenerateHeaderSetVerificationFile(
cmGeneratedFileStream fout(filename);
fout.SetCopyIfDifferent(true);
- // IWYU pragma: associated allows include what you use to
+ // The IWYU "associated" pragma tells include-what-you-use to
// consider the headerFile as part of the entire language
// unit within include-what-you-use and as a result allows
- // one to get IWYU advice for headers :)
+ // one to get IWYU advice for headers.
fout << "#include <" << headerFilename << "> // IWYU pragma: associated\n";
fout.close();