<div dir="ltr">Perhaps this should use non-static data member initializers instead?</div><br><div class="gmail_quote"><div dir="ltr">On Fri, May 4, 2018 at 9:23 AM Erich Keane via cfe-commits <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: erichkeane<br>
Date: Fri May 4 09:19:53 2018<br>
New Revision: 331536<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=331536&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=331536&view=rev</a><br>
Log:<br>
[NFC]Convert Class to use member initialization instead of inline.<br>
<br>
Modified:<br>
cfe/trunk/include/clang/Frontend/DependencyOutputOptions.h<br>
<br>
Modified: cfe/trunk/include/clang/Frontend/DependencyOutputOptions.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/DependencyOutputOptions.h?rev=331536&r1=331535&r2=331536&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/DependencyOutputOptions.h?rev=331536&r1=331535&r2=331536&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/include/clang/Frontend/DependencyOutputOptions.h (original)<br>
+++ cfe/trunk/include/clang/Frontend/DependencyOutputOptions.h Fri May 4 09:19:53 2018<br>
@@ -65,15 +65,11 @@ public:<br>
std::string ModuleDependencyOutputDir;<br>
<br>
public:<br>
- DependencyOutputOptions() {<br>
- IncludeSystemHeaders = 0;<br>
- ShowHeaderIncludes = 0;<br>
- UsePhonyTargets = 0;<br>
- AddMissingHeaderDeps = 0;<br>
- IncludeModuleFiles = 0;<br>
- ShowIncludesDest = ShowIncludesDestination::None;<br>
- OutputFormat = DependencyOutputFormat::Make;<br>
- }<br>
+ DependencyOutputOptions()<br>
+ : IncludeSystemHeaders(0), ShowHeaderIncludes(0), UsePhonyTargets(0),<br>
+ AddMissingHeaderDeps(0), IncludeModuleFiles(0),<br>
+ ShowIncludesDest(ShowIncludesDestination::None),<br>
+ OutputFormat(DependencyOutputFormat::Make) {}<br>
};<br>
<br>
} // end namespace clang<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
</blockquote></div>