summaryrefslogtreecommitdiff
path: root/Utilities/IWYU
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-01-27 11:09:07 -0500
committerBen Boeckel <ben.boeckel@kitware.com>2023-01-27 11:09:07 -0500
commit25f0b4f397255dfb235d285bd391536a1fe8fe8c (patch)
treee7e55f6023b96097d3a7d10bdab697a2f4f346ed /Utilities/IWYU
parent7ac338be9830bdc936b52a4135504ed011418f3c (diff)
downloadcmake-25f0b4f397255dfb235d285bd391536a1fe8fe8c.tar.gz
CMake: add an option to run IWYU in verbose mode
This helps to diagnose places where IWYU asks to include headers for internal stdlib details.
Diffstat (limited to 'Utilities/IWYU')
-rw-r--r--Utilities/IWYU/mapping.imp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/IWYU/mapping.imp b/Utilities/IWYU/mapping.imp
index b0ed911bb0..0ba2f519e9 100644
--- a/Utilities/IWYU/mapping.imp
+++ b/Utilities/IWYU/mapping.imp
@@ -76,7 +76,7 @@
# __decay_and_strip is used internally in the C++11 standard library.
# IWYU does not classify it as internal and suggests to add <type_traits>.
# To ignore it, we simply map it to a file that is included anyway.
- # Use '-Xiwyu -v7' to see the fully qualified names that need this.
+ # Use 'CMake_IWYU_VERBOSE' to see the fully qualified names that need this.
# TODO: Can this be simplified with an @-expression?
#{ symbol: [ "@std::__decay_and_strip<.*>::__type", private, "\"cmConfigure.h\"", public ] },
{ symbol: [ "std::__decay_and_strip<bool>::__type", private, "\"cmConfigure.h\"", public ] },