]> granicus.if.org Git - clang/commit
Add a test that checks that the formatter doesn't discard '@' with ObjC1 set.
authorNico Weber <nicolasweber@gmx.de>
Mon, 7 Jan 2013 15:17:23 +0000 (15:17 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 7 Jan 2013 15:17:23 +0000 (15:17 +0000)
commitefcfe733970b994b75ba5fc728a97357b3a6a0e1
tree1019d4db570976b196812825d3fc6b4f1a982756
parentdecf7bcafd71af8c31cbc17eec1d6d050e2a1ea2
Add a test that checks that the formatter doesn't discard '@' with ObjC1 set.

Also set ObjC1 in the formatter tests.

The only effect of this flag in the lexer is that '@' now gets turned into
tok::at instead of tok::unknown.

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