From d652bdd05f1c6a7f732fc01009ce68f7190d0e3d Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Sun, 14 Apr 2019 08:06:59 +0000 Subject: [c++20] Parsing support for module-declarations, import-declarations, and the global and private module fragment. For now, the private module fragment introducer is ignored, but use of the global module fragment introducer should be properly enforced. llvm-svn: 358353 --- clang/lib/Lex/Preprocessor.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/Lex/Preprocessor.cpp') diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp index 48d4a62ab7d..ebd4ae07ba4 100644 --- a/clang/lib/Lex/Preprocessor.cpp +++ b/clang/lib/Lex/Preprocessor.cpp @@ -1168,6 +1168,7 @@ bool Preprocessor::LexAfterModuleImport(Token &Result) { LLVM_FALLTHROUGH; case ImportAction::ModuleImport: + case ImportAction::SkippedModuleImport: // We chose to import (or textually enter) the file. Convert the // header-name token into a header unit annotation token. Suffix[0].setKind(tok::annot_header_unit); -- cgit v1.2.3