summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2017-09-08 16:17:16 +0000
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2017-09-08 16:17:16 +0000
commita7577861db96bba7337b493e043aa9123892840e (patch)
tree4179aa1ac33b7e8ba57232e79ab59cab3e9442af /utils
parent87063256b97d572c2a6d108d509af2de5034fba3 (diff)
Add '\n' in ClangDataCollectorsEmitter
Differential Revision: https://reviews.llvm.org/D37599 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@312795 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/ClangDataCollectorsEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/ClangDataCollectorsEmitter.cpp b/utils/TableGen/ClangDataCollectorsEmitter.cpp
index c65c7a7a91..4079efc808 100644
--- a/utils/TableGen/ClangDataCollectorsEmitter.cpp
+++ b/utils/TableGen/ClangDataCollectorsEmitter.cpp
@@ -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";