Fixes a compile warning and crash in the tests.
authorManuel Klimek <klimek@google.com>
Mon, 3 Dec 2012 20:55:42 +0000 (20:55 +0000)
committerManuel Klimek <klimek@google.com>
Mon, 3 Dec 2012 20:55:42 +0000 (20:55 +0000)
commit6a5619d12ea9a692f7f70f6d6176100497ee7eb2
tree109ccca7faade6b1900ff6e061f253bbf4bfbe4f
parente50df53625fe4c663056f5993912fb68e9a63071
Fixes a compile warning and crash in the tests.

The necessity of this fix points to a problem with the design
of the addToken during the optimiation phase, which we need to address
in a much more principled way.

llvm-svn: 169151
clang/lib/Format/Format.cpp