]> granicus.if.org Git - clang/commit
Formatter: Remove an always-false condition.
authorNico Weber <nicolasweber@gmx.de>
Sat, 12 Jan 2013 07:05:25 +0000 (07:05 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sat, 12 Jan 2013 07:05:25 +0000 (07:05 +0000)
commitf681fa8238b82822a3d939f0e4df80660666f8b1
tree3a07a79563111c56cc6762a8ffb19136833dd565
parent774b97312ddffe64435a1428f904211ee46cf289
Formatter: Remove an always-false condition.

canBreakBefore() does not allow breaking after ':' for LT_ObjCMethodDecl lines,
so if Newline is true in addTokenToState() for ':' then LT_ObjCMethodDecl
cannot be set. No functionality change.

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