r221606 - clang-format: Document that --assume-filename affects the language.

Nico Weber nicolasweber at gmx.de
Mon Nov 10 08:14:55 PST 2014


Author: nico
Date: Mon Nov 10 10:14:54 2014
New Revision: 221606

URL: http://llvm.org/viewvc/llvm-project?rev=221606&view=rev
Log:
clang-format: Document that --assume-filename affects the language.

Modified:
    cfe/trunk/tools/clang-format/ClangFormat.cpp

Modified: cfe/trunk/tools/clang-format/ClangFormat.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-format/ClangFormat.cpp?rev=221606&r1=221605&r2=221606&view=diff
==============================================================================
--- cfe/trunk/tools/clang-format/ClangFormat.cpp (original)
+++ cfe/trunk/tools/clang-format/ClangFormat.cpp Mon Nov 10 10:14:54 2014
@@ -76,7 +76,7 @@ static cl::opt<std::string>
 AssumeFilename("assume-filename",
                cl::desc("When reading from stdin, clang-format assumes this\n"
                         "filename to look for a style config file (with\n"
-                        "-style=file)."),
+                        "-style=file) and to determine the language."),
                cl::cat(ClangFormatCategory));
 
 static cl::opt<bool> Inplace("i",





More information about the cfe-commits mailing list