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 | 8f83ee46ba9f817307f2561f7ad8c5c8bf254107 (patch) | |
| tree | f996205f2230d1fd023898373f2423bdd84564bc /clang/lib | |
| parent | b4688f84bd3560f8ccb96ad8bb2b7e491bbe9b17 (diff) | |
| download | bcm5719-llvm-8f83ee46ba9f817307f2561f7ad8c5c8bf254107.tar.gz bcm5719-llvm-8f83ee46ba9f817307f2561f7ad8c5c8bf254107.zip | |
format: Handle #import as include directive too.
llvm-svn: 170914
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Format/Format.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index b5e4a7003d2..bb18e9a8515 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/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: |

