Re: Issue 434 in include-what-you-use: Mapping for type traits

1 view
Skip to first unread message

notifi...@include-what-you-use.org

unread,
May 3, 2023, 5:52:38 PM5/3/23
to include-wh...@googlegroups.com
Comment #7 on issue 434 by tkocmathla: Mapping for type traits
https://github.com/include-what-you-use/include-what-you-use/issues/434

> > OK, I used -Xiwyu -v7 to find out the fully qualified name and added a mapping for that. It works.
>
> @purpleKarrot i realize this was 6 years ago, but if you still have the exact mapping syntax that worked for you, can you please share it here?

fwiw, it worked for me to ramp up the IWYU verbosity to find the explicit type (`unsigned char` in my case) and make a rule from that, e.g.:
```
{ symbol: ["std::__decay_and_strip<unsigned char>::__type", "private", "<utility>", "public"] }
```


Reply all
Reply to author
Forward
0 new messages