Formatter: Refactor the cast detection code to be a bit more readable.
authorNico Weber <nicolasweber@gmx.de>
Wed, 13 Feb 2013 04:13:13 +0000 (04:13 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 13 Feb 2013 04:13:13 +0000 (04:13 +0000)
commitc6fe2165c9ff9f755e2a51f38f7b507c88ab80ab
treed0e588dcc4198e00966cb9035cf3b7822e57296d
parenta789239c64b78c9286e21078949f4d117344a999
Formatter: Refactor the cast detection code to be a bit more readable.

No functionality change. Also add another cast test.

llvm-svn: 175029
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTest.cpp