]> granicus.if.org Git - clang/commitdiff
[clang-format] Fix LanguageKind comments.
authorKrasimir Georgiev <krasimir@google.com>
Mon, 23 Jan 2017 16:21:06 +0000 (16:21 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Mon, 23 Jan 2017 16:21:06 +0000 (16:21 +0000)
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@292796 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Format/Format.h

index 58a1bfbbb69ebd9348c7bfda3852b023af006259..bd0548bc6167666f37f4511989e75be25dae1f6a 100644 (file)
@@ -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/).