Add '\n' in ClangDataCollectorsEmitter

Differential Revision: https://reviews.llvm.org/D37599

llvm-svn: 312795
This commit is contained in:
Konstantin Zhuravlyov 2017-09-08 16:17:16 +00:00
parent cc623ad071
commit 500c25e5da
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ void EmitClangDataCollectors(RecordKeeper &RK, raw_ostream &OS) {
const auto &Defs = RK.getClasses();
for (const auto &Entry : Defs) {
Record &R = *Entry.second;
OS << "DEF_ADD_DATA(" << R.getName() << ", {";
OS << "DEF_ADD_DATA(" << R.getName() << ", {\n";
auto Code = R.getValue("Code")->getValue();
OS << Code->getAsUnquotedString() << "}\n)";
OS << "\n";