diff --git a/clang/lib/Lex/PPLexerChange.cpp b/clang/lib/Lex/PPLexerChange.cpp index b8839851ec03..e3cc2003ce12 100644 --- a/clang/lib/Lex/PPLexerChange.cpp +++ b/clang/lib/Lex/PPLexerChange.cpp @@ -355,7 +355,7 @@ bool Preprocessor::HandleEndOfFile(Token &Result, bool isEndOfMacro) { if (getDiagnostics().getDiagnosticLevel( diag::warn_uncovered_module_header, StartLoc) != DiagnosticsEngine::Ignored) { - typedef typename llvm::sys::fs::recursive_directory_iterator + typedef llvm::sys::fs::recursive_directory_iterator recursive_directory_iterator; const DirectoryEntry *Dir = Mod->getUmbrellaDir(); llvm::error_code EC;