summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2019-04-14 08:06:59 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2019-04-14 08:06:59 +0000
commitd652bdd05f1c6a7f732fc01009ce68f7190d0e3d (patch)
treea803f9072874de1deca5bcc531ce1dbad1d2f11a /clang/lib/Lex/Preprocessor.cpp
parentde20429cfc00f8d962c41a42024e8309bdda29ed (diff)
downloadbcm5719-llvm-d652bdd05f1c6a7f732fc01009ce68f7190d0e3d.tar.gz
bcm5719-llvm-d652bdd05f1c6a7f732fc01009ce68f7190d0e3d.zip
[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
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
-rw-r--r--clang/lib/Lex/Preprocessor.cpp1
1 files changed, 1 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud