summaryrefslogtreecommitdiff
path: root/Utilities/IWYU
diff options
context:
space:
mode:
authorMatthias Maennich <matthias@maennich.net>2017-09-21 23:06:05 +0200
committerMatthias Maennich <matthias@maennich.net>2017-09-26 00:07:19 +0200
commitf0489856e30b1b5236d1897071ea38dfde438fc7 (patch)
treef2a786e0c3fe5e9d234f62c3ca3cacfdbd70ef8f /Utilities/IWYU
parenteae3765b67b653d3f00afa44a60719a387262af8 (diff)
downloadcmake-f0489856e30b1b5236d1897071ea38dfde438fc7.tar.gz
Retire std::auto_ptr and its macro CM_AUTO_PTR
Signed-off-by: Matthias Maennich <matthias@maennich.net>
Diffstat (limited to 'Utilities/IWYU')
-rw-r--r--Utilities/IWYU/mapping.imp6
1 files changed, 0 insertions, 6 deletions
diff --git a/Utilities/IWYU/mapping.imp b/Utilities/IWYU/mapping.imp
index 349945a72a..3240edf311 100644
--- a/Utilities/IWYU/mapping.imp
+++ b/Utilities/IWYU/mapping.imp
@@ -49,12 +49,6 @@
#{ symbol: [ "std::pair", private, "<map>", public ] },
#{ symbol: [ "std::pair", private, "<set>", public ] },
- # IWYU wrongly suggests to include "cm_auto_ptr.hxx" in some places. This
- # might be a misinterpretation of a template specialization in <utility>.
- # As a workaround, map the symbol auto_ptr to "cmConfigure.h".
- # This will still correctly require "cm_auto_ptr.hxx" for CM_AUTO_PTR.
- { symbol: [ "cm::auto_ptr", private, "\"cmConfigure.h\"", 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.