]> granicus.if.org Git - clang/commit
[c++20] Parsing support for module-declarations, import-declarations,
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 14 Apr 2019 08:06:59 +0000 (08:06 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 14 Apr 2019 08:06:59 +0000 (08:06 +0000)
commit33eb2fffd975207bf64cb479d6eb9493d5f4110d
treee738293b3a1d3db5dd5d63eebbdee7c6bb307849
parentc923a9876950bf0126dd4ea4d083999e3ff27505
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358353 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/clang/Basic/DiagnosticParseKinds.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Lex/Preprocessor.h
include/clang/Parse/Parser.h
include/clang/Sema/Sema.h
lib/Lex/PPDirectives.cpp
lib/Lex/Preprocessor.cpp
lib/Parse/Parser.cpp
lib/Sema/Sema.cpp
lib/Sema/SemaDecl.cpp
test/CXX/basic/basic.link/p1.cpp [new file with mode: 0644]
test/CXX/basic/basic.link/p3.cpp [new file with mode: 0644]
test/CXX/module/module.unit/p3.cpp [new file with mode: 0644]
test/CXX/modules-ts/basic/basic.link/module-declaration.cpp