Skip to content

Commit

Permalink
[nomp] Don't suppress initializers in printPretty()
Browse files Browse the repository at this point in the history
  • Loading branch information
thilinarmtb committed Sep 23, 2023
1 parent e4c17f1 commit 6d70f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/Parse/ParseNomp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ static void GetExtVarsAndKnl(std::set<VarDecl *> &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);
Expand Down

0 comments on commit 6d70f35

Please sign in to comment.