r292796 - [clang-format] Fix LanguageKind comments.
Krasimir Georgiev via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 23 08:21:07 PST 2017
Author: krasimir
Date: Mon Jan 23 10:21:06 2017
New Revision: 292796
URL: http://llvm.org/viewvc/llvm-project?rev=292796&view=rev
Log:
[clang-format] Fix LanguageKind comments.
Summary: With the introduction of LK_ObjC, the comment line for LK_Cpp became obsolete.
Reviewers: djasper
Reviewed By: djasper
Subscribers: cfe-commits, klimek
Differential Revision: https://reviews.llvm.org/D29033
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=292796&r1=292795&r2=292796&view=diff
==============================================================================
--- cfe/trunk/include/clang/Format/Format.h (original)
+++ cfe/trunk/include/clang/Format/Format.h Mon Jan 23 10:21:06 2017
@@ -459,13 +459,13 @@ struct FormatStyle {
enum LanguageKind {
/// Do not use.
LK_None,
- /// Should be used for C, C++, ObjectiveC, ObjectiveC++.
+ /// Should be used for C, C++.
LK_Cpp,
/// Should be used for Java.
LK_Java,
/// Should be used for JavaScript.
LK_JavaScript,
- /// Should be used for ObjC code.
+ /// Should be used for ObjectiveC, ObjectiveC++.
LK_ObjC,
/// Should be used for Protocol Buffers
/// (https://developers.google.com/protocol-buffers/).
More information about the cfe-commits
mailing list