r350912 - Add an explicit initializer to silence a -Wmissing-field-initializers diagnostic; NFC.

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 10 16:13:57 PST 2019


Author: aaronballman
Date: Thu Jan 10 16:13:57 2019
New Revision: 350912

URL: http://llvm.org/viewvc/llvm-project?rev=350912&view=rev
Log:
Add an explicit initializer to silence a -Wmissing-field-initializers diagnostic; NFC.

Modified:
    cfe/trunk/lib/Lex/PPExpressions.cpp

Modified: cfe/trunk/lib/Lex/PPExpressions.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PPExpressions.cpp?rev=350912&r1=350911&r2=350912&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/PPExpressions.cpp (original)
+++ cfe/trunk/lib/Lex/PPExpressions.cpp Thu Jan 10 16:13:57 2019
@@ -849,7 +849,7 @@ Preprocessor::EvaluateDirectiveExpressio
 
     // Restore 'DisableMacroExpansion'.
     DisableMacroExpansion = DisableMacroExpansionAtStartOfDirective;
-    return {false, DT.IncludedUndefinedIds};
+    return {false, DT.IncludedUndefinedIds, {}};
   }
 
   // If we are at the end of the expression after just parsing a value, there




More information about the cfe-commits mailing list