[clang-tools-extra] r196109 - Adapt the code to the interface change in r196108.
Alexander Kornienko
alexfh at google.com
Mon Dec 2 07:22:30 PST 2013
Author: alexfh
Date: Mon Dec 2 09:22:30 2013
New Revision: 196109
URL: http://llvm.org/viewvc/llvm-project?rev=196109&view=rev
Log:
Adapt the code to the interface change in r196108.
Modified:
clang-tools-extra/trunk/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp
Modified: clang-tools-extra/trunk/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp?rev=196109&r1=196108&r2=196109&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp (original)
+++ clang-tools-extra/trunk/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp Mon Dec 2 09:22:30 2013
@@ -217,7 +217,7 @@ int main(int argc, char **argv) {
// Determine a formatting style from options.
format::FormatStyle FormatStyle;
if (DoFormat)
- FormatStyle = format::getStyle(FormatStyleOpt, FormatStyleConfig);
+ FormatStyle = format::getStyle(FormatStyleOpt, FormatStyleConfig, "LLVM");
TUReplacements TUs;
TUReplacementFiles TURFiles;
More information about the cfe-commits
mailing list