[PATCH] D12501: [clang-format] Obj-C dictionary literals: Fixed typecast getting put on a separate line from the key
Daniel Jasper via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 17 09:25:46 PDT 2015
djasper added inline comments.
================
Comment at: lib/Format/TokenAnnotator.cpp:377
@@ -376,1 +376,3 @@
+ (!Contexts.back().ColonIsDictLiteral ||
+ Style.Language != FormatStyle::LK_Cpp)) ||
Style.Language == FormatStyle::LK_Proto) &&
----------------
Why the language check? If it is needed, can you add a test?
http://reviews.llvm.org/D12501
More information about the cfe-commits
mailing list