diff options
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
-rw-r--r-- | lib/Parse/ParseDecl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index 23c0c61517..a410dfeda3 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/lib/Parse/ParseDecl.cpp @@ -216,6 +216,8 @@ void Parser::FuzzyParseMicrosoftDeclSpec() { /// others [FIXME] /// [C++] template-declaration /// [C++] namespace-definition +/// [C++] using-directive +/// [C++] using-declaration [TODO] /// others... [FIXME] /// Parser::DeclTy *Parser::ParseDeclaration(unsigned Context) { @@ -225,6 +227,8 @@ Parser::DeclTy *Parser::ParseDeclaration(unsigned Context) { return ParseTemplateDeclaration(Context); case tok::kw_namespace: return ParseNamespace(Context); + case tok::kw_using: + return ParseUsingDirectiveOrDeclaration(Context); default: return ParseSimpleDeclaration(Context); } |