]> granicus.if.org Git - clang/commit
clang-format: Fix SpacesInParentheses with fully qualified names.
authorDaniel Jasper <djasper@google.com>
Thu, 22 Mar 2018 14:30:28 +0000 (14:30 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 22 Mar 2018 14:30:28 +0000 (14:30 +0000)
commit3862393ff7675e51e619d037bdf1a7545d7446b1
treebfb2f3abe1f42f9627bb6ebf437e5436d2df14aa
parenteee26f22fcf6355ca7f1cbb9a958db3b38bfd447
clang-format: Fix SpacesInParentheses with fully qualified names.

When SpacesInParentheses is set to true clang-format does not add a
space before fully qualified names. For example:

  do_something(::globalVar );

Fix by Darby Payne. Thank you!

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