From 0d4270e1a190919ea5655d41f38f8fbbf15fc915 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Mon, 23 Jan 2017 16:21:06 +0000 Subject: [PATCH] [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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@292796 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Format/Format.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/clang/Format/Format.h b/include/clang/Format/Format.h index 58a1bfbbb6..bd0548bc61 100644 --- a/include/clang/Format/Format.h +++ b/include/clang/Format/Format.h @@ -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/). -- 2.40.0