diff options
author | Nico Weber <nicolasweber@gmx.de> | 2012-12-21 18:21:56 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2012-12-21 18:21:56 +0000 |
commit | b23ae0c5104a4fec4c2ff603143fe142ec409249 (patch) | |
tree | 2da3fe03e2b2ebb0d0f96650d862caacd1b121f6 /lib/Format/Format.cpp | |
parent | d29b45580a5ffa5318cbe69b619d4d36ff7f8c78 (diff) |
format: Handle #import as include directive too.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170914 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/Format.cpp')
-rw-r--r-- | lib/Format/Format.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp index b5e4a7003d..bb18e9a851 100644 --- a/lib/Format/Format.cpp +++ b/lib/Format/Format.cpp @@ -579,6 +579,7 @@ public: return; switch (Tokens[Index].Tok.getIdentifierInfo()->getPPKeywordID()) { case tok::pp_include: + case tok::pp_import: parseIncludeDirective(); break; default: |