diff options
author | Nico Weber <nicolasweber@gmx.de> | 2013-01-07 19:08:19 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2013-01-07 19:08:19 +0000 |
commit | cf2f8107d1f86f6363df00a79c575b75e9528c59 (patch) | |
tree | 1f2a53475cf97c5de40b40e4fc5943d1144915c6 /clang-format | |
parent | 3724483b7e0c0fe36a65e164159caaadf58b1c9d (diff) |
Enabled ObjC2 in clang-format for @package. Matches r171766.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@171767 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clang-format')
-rw-r--r-- | clang-format/ClangFormat.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang-format/ClangFormat.cpp b/clang-format/ClangFormat.cpp index 7a7c6c2e..e3bf3eb0 100644 --- a/clang-format/ClangFormat.cpp +++ b/clang-format/ClangFormat.cpp @@ -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); |