Descriptionclang/win: Fix last plugin warnings in component builds.
Exporting a class on Windows forces instantiation of default constructor,
copy constructor, and sundry similar other functions. The clang plugin then
complains about these not being out-of-line, even if they're not referred to
from anywhere. Since having this only on Windows is annoying, we're suppressing
these warnings on exported classes.
In this case however, the inner classes STSState and PKPState aren't exported,
and their copy constructors are only instantiated because their outer class
_is_ exported and has STSState and PKPState members. This cannot be easily
suppressed, and it's also the only place in the whole codebase where this
happens.
So just export these two structs to make the plugin happy in Windows
component builds.
BUG=467287, 483986
Committed: https://crrev.com/07b68b6b552c8a12d4e0db3a32fbd4b118275342
Cr-Commit-Position: refs/heads/master@{#329483}
Patch Set 1 #Patch Set 2 : durr #
Total comments: 1
Patch Set 3 : export #Messages
Total messages: 9 (2 generated)
|