Enabled ObjC2 in clang-format for @package. Matches r171766.

llvm-svn: 171767
This commit is contained in:
Nico Weber 2013-01-07 19:08:19 +00:00
parent 04e9f1ab42
commit 48e75f7e48
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ static void format() {
LangOpts.CPlusPlus = 1;
LangOpts.CPlusPlus11 = 1;
LangOpts.ObjC1 = 1;
LangOpts.ObjC2 = 1;
Lexer Lex(ID, Sources.getBuffer(ID), Sources, LangOpts);
SourceLocation Start =
Sources.getLocForStartOfFile(ID).getLocWithOffset(Offset);