Commit e6d8ab18 authored by Michael Kruse's avatar Michael Kruse
Browse files

polly-update-format

parent b2ad3773
......@@ -1477,13 +1477,13 @@ writePrettyPrintFunction(const Record &R,
Spelling += Name;
OS << " case " << I << " : {\n";
if (Variety == "Pragma") {
OS << " OS << \"" << Prefix;
if (PrettyPrintSpelling)
OS << Spelling;
OS << "\";\n";
OS << "\";\n";
OS << " printPrettyPragma(OS, Policy);\n";
OS << " OS << \"\\n\";";
OS << " break;\n";
......@@ -1492,7 +1492,7 @@ writePrettyPrintFunction(const Record &R,
}
OS << " OS << \"" << Prefix << Spelling << "\";\n";
if (Spelling == "availability") {
OS << " OS << \"(";
writeAvailabilityValue(OS);
......@@ -2600,7 +2600,7 @@ static void emitAttributes(RecordKeeper &Records, raw_ostream &OS,
auto PrettyPrintSpelling = Attr->getValueAsBit("PrettyPrintSpelling");
writePrettyPrintFunction(R, Args, OS, PrettyPrintSpelling);
writeGetSpellingFunction(R, OS);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment