[modules ts] Diagnose 'export' declarations outside of a module interface.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 24 Apr 2017 23:12:30 +0000 (23:12 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 24 Apr 2017 23:12:30 +0000 (23:12 +0000)
commit145e15a37b7df0fdd9f7221801336d7d8d2d46c7
tree1ca12259553cd803e190f47b8d18e7dd71f45b13
parente8d0539f202c9f35a98193fcbd7917f683fd8e08
[modules ts] Diagnose 'export' declarations outside of a module interface.

llvm-svn: 301271
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Basic/Module.h
clang/lib/Lex/ModuleMap.cpp
clang/lib/Sema/SemaDecl.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp
clang/test/CXX/modules-ts/dcl.dcl/dcl.module/dcl.module.interface/p1.cpp [new file with mode: 0644]
clang/test/Parser/cxx-modules-interface.cppm
clang/test/SemaCXX/modules-ts.cppm