Skip to content

Commit

Permalink
[nomp] Print canonical types to expand typedefs
Browse files Browse the repository at this point in the history
  • Loading branch information
thilinarmtb committed Sep 20, 2023
1 parent ade6a17 commit e993d15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/Parse/ParseNomp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ static void GetExtVarsAndKnl(std::set<VarDecl *> &EV, std::string &KnlStr,

clang::PrintingPolicy Policy(Opts);
Policy.SuppressInitializers = true;
Policy.PrintCanonicalTypes = true;

llvm::raw_string_ostream KnlStream(KnlStr);
KnlStream << "void " << KnlName << "(";
Expand Down

0 comments on commit e993d15

Please sign in to comment.