Descriptionwin: Make oilpan plugin work better with delayed template parsing.
On Windows, clang-cl only parses template methods that are
referenced (-fdelayed-template-parsing), so members traced from
unreferenced template methods weren't seen by the plugin, which
caused it to warn about them.
Explicitly parse delayed template methods that look like they
are trace methods and that aren't in system headers to work around
this. This is based on Kim Grasman's patch for the IWYU project:
https://code.google.com/p/include-what-you-use/source/detail?r=566
This fixes 3 of the 4 failing oilpan plugin tests on Windows.
BUG=486571
NOPRESUBMIT=true
Committed: https://crrev.com/28c1b1099fb09782841d891ca43e83e71cd8dfc6
Cr-Commit-Position: refs/heads/master@{#330247}
Patch Set 1 #
Total comments: 2
Patch Set 2 : comments #
Messages
Total messages: 23 (9 generated)
|