diff --git a/clang/lib/Parse/ParseNomp.cpp b/clang/lib/Parse/ParseNomp.cpp index 7c94dfbb44b2..b7dff712af6c 100644 --- a/clang/lib/Parse/ParseNomp.cpp +++ b/clang/lib/Parse/ParseNomp.cpp @@ -576,7 +576,7 @@ static void GetExtVarsAndKnl(std::set &EV, std::string &KnlStr, ExtVars.GetExternalVarDecls(EV); clang::PrintingPolicy Policy(Opts); - Policy.SuppressInitializers = true; + Policy.SuppressInitializers = false; Policy.PrintCanonicalTypes = true; llvm::raw_string_ostream KnlStream(KnlStr);