kzhuravl created this revision. Herald added subscribers: ilya-biryukov, wdng.
Otherwise it breaks our internal windows builders: StmtDataCollectors.inc: error C2220: warning treated as error - no 'object' file generated StmtDataCollectors.inc: warning C4335: Mac file format detected: please convert the source file to either DOS or UNIX format https://reviews.llvm.org/D37599 Files: utils/TableGen/ClangDataCollectorsEmitter.cpp Index: utils/TableGen/ClangDataCollectorsEmitter.cpp =================================================================== --- utils/TableGen/ClangDataCollectorsEmitter.cpp +++ 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";
Index: utils/TableGen/ClangDataCollectorsEmitter.cpp =================================================================== --- utils/TableGen/ClangDataCollectorsEmitter.cpp +++ 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";
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits