[clang-tools-extra] r195020 - Fix the build after r195016.
Alexander Kornienko
alexfh at google.com
Mon Nov 18 10:03:30 PST 2013
Author: alexfh
Date: Mon Nov 18 12:03:29 2013
New Revision: 195020
URL: http://llvm.org/viewvc/llvm-project?rev=195020&view=rev
Log:
Fix the build after r195016.
Modified:
clang-tools-extra/trunk/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp
Modified: clang-tools-extra/trunk/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp?rev=195020&r1=195019&r2=195020&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp (original)
+++ clang-tools-extra/trunk/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp Mon Nov 18 12:03:29 2013
@@ -67,8 +67,7 @@ collectReplacementsFromDirectory(const l
continue;
}
- yaml::Input YIn(Out->getBuffer());
- YIn.setDiagHandler(&eatDiagnostics);
+ yaml::Input YIn(Out->getBuffer(), NULL, &eatDiagnostics);
tooling::TranslationUnitReplacements TU;
YIn >> TU;
if (YIn.error()) {
More information about the cfe-commits
mailing list