[PATCH] D37599: Add '\n' in ClangDataCollectorsEmitter
Konstantin Zhuravlyov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 8 09:19:46 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL312795: Add '\n' in ClangDataCollectorsEmitter (authored by kzhuravl).
Changed prior to commit:
https://reviews.llvm.org/D37599?vs=114269&id=114376#toc
Repository:
rL LLVM
https://reviews.llvm.org/D37599
Files:
cfe/trunk/utils/TableGen/ClangDataCollectorsEmitter.cpp
Index: cfe/trunk/utils/TableGen/ClangDataCollectorsEmitter.cpp
===================================================================
--- cfe/trunk/utils/TableGen/ClangDataCollectorsEmitter.cpp
+++ cfe/trunk/utils/TableGen/ClangDataCollectorsEmitter.cpp
@@ -8,7 +8,7 @@
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";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37599.114376.patch
Type: text/x-patch
Size: 596 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170908/554e39da/attachment.bin>
More information about the cfe-commits
mailing list