]> granicus.if.org Git - clang/commit
clang-format: Remove old hack that mainly made incorrect tests pass.
authorDaniel Jasper <djasper@google.com>
Thu, 7 Nov 2013 17:43:07 +0000 (17:43 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 7 Nov 2013 17:43:07 +0000 (17:43 +0000)
commit59875ac81b97de87ac6c4c7cb256ab71b75114f2
treed27469871aa405ac1349a7dcb319e4eeca19b8e0
parent740265db4f5764782d3486d855bfccfc7d49f194
clang-format: Remove old hack that mainly made incorrect tests pass.

As a side-effect, constructors definitions will correctly be recognized
and formatted as function declarations. Tests will be added in a
follow-up patch actually using the correct recognition.

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