diff options
author | Brad King <brad.king@kitware.com> | 2019-01-15 16:38:10 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-01-15 16:38:24 (GMT) |
commit | d4a42dd4a87c9caa222a7a40150db937258698d2 (patch) | |
tree | 540912120f10050685697f020227969acc2e4647 /Utilities | |
parent | f3b7652efcdd9a2e248ed2ec83ce7fc10944f194 (diff) | |
parent | cd0881be61149346649f3aef9b69d58bd7a2549a (diff) | |
download | CMake-d4a42dd4a87c9caa222a7a40150db937258698d2.zip CMake-d4a42dd4a87c9caa222a7a40150db937258698d2.tar.gz CMake-d4a42dd4a87c9caa222a7a40150db937258698d2.tar.bz2 |
Merge topic 'iwyu-clang-6'
cd0881be61 IWYU: Update CMake code for IWYU built with Clang 6
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2810
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/IWYU/mapping.imp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Utilities/IWYU/mapping.imp b/Utilities/IWYU/mapping.imp index c5231bb..aee8a69 100644 --- a/Utilities/IWYU/mapping.imp +++ b/Utilities/IWYU/mapping.imp @@ -55,6 +55,9 @@ # HACK: iwyu wrongly thinks that <system_error> is needed for std::hash { symbol: [ "std::hash", private, "<functional>", public ] }, + # HACK: iwyu thinks we use a libstdc++ private type + { symbol: [ "__gnu_cxx::size_t", private, "<cstddef>", public ] }, + # __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. |