r307264 - [clang-format] Add TextProto language name, NFC
Krasimir Georgiev via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 6 07:39:39 PDT 2017
Author: krasimir
Date: Thu Jul 6 07:39:39 2017
New Revision: 307264
URL: http://llvm.org/viewvc/llvm-project?rev=307264&view=rev
Log:
[clang-format] Add TextProto language name, NFC
Modified:
cfe/trunk/include/clang/Format/Format.h
Modified: cfe/trunk/include/clang/Format/Format.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Format/Format.h?rev=307264&r1=307263&r2=307264&view=diff
==============================================================================
--- cfe/trunk/include/clang/Format/Format.h (original)
+++ cfe/trunk/include/clang/Format/Format.h Thu Jul 6 07:39:39 2017
@@ -1753,6 +1753,8 @@ inline StringRef getLanguageName(FormatS
return "JavaScript";
case FormatStyle::LK_Proto:
return "Proto";
+ case FormatStyle::LK_TextProto:
+ return "TextProto";
default:
return "Unknown";
}
More information about the cfe-commits
mailing list