forked from OSchip/llvm-project
Add '\n' in ClangDataCollectorsEmitter
Differential Revision: https://reviews.llvm.org/D37599 llvm-svn: 312795
This commit is contained in:
parent
cc623ad071
commit
500c25e5da
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue