summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrasimir Georgiev <krasimir@google.com>2017-01-23 16:21:06 +0000
committerKrasimir Georgiev <krasimir@google.com>2017-01-23 16:21:06 +0000
commit9b8fb2cf0ce9cd76b3a3d2a86022874c82c43cb5 (patch)
tree53c2ab7e4564cb57f40ee02dd10bb868b2e08859
parent1d5855b1078569ba49682010fc9be5ec32fef5ea (diff)
downloadbcm5719-llvm-9b8fb2cf0ce9cd76b3a3d2a86022874c82c43cb5.tar.gz
bcm5719-llvm-9b8fb2cf0ce9cd76b3a3d2a86022874c82c43cb5.zip
[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 llvm-svn: 292796
-rw-r--r--clang/include/clang/Format/Format.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h
index 58a1bfbbb69..bd0548bc616 100644
--- a/clang/include/clang/Format/Format.h
+++ b/clang/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/).
OpenPOWER on IntegriCloud