]> granicus.if.org Git - clang/commit
clang-format: Quickfix for braced init lists detected as lambdas.
authorDaniel Jasper <djasper@google.com>
Thu, 5 Sep 2013 11:49:39 +0000 (11:49 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 5 Sep 2013 11:49:39 +0000 (11:49 +0000)
commit2d65705ed0a72ab57b8a062c44c9caa377f9fd2a
treed9a3af7b970b8870d117b9d8bf7e8e934ac3aff2
parent7b7bef1ec355fb46643349d77c266b913f36b656
clang-format: Quickfix for braced init lists detected as lambdas.

Before:
  constexpr char hello [] { "hello" };

After:
  constexpr char hello[]{ "hello" };

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190046 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/UnwrappedLineParser.cpp
unittests/Format/FormatTest.cpp