Add -fmodules-ts flag to cc1 for the provisional C++ modules TS, and mark
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 23 Jul 2016 02:32:21 +0000 (02:32 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 23 Jul 2016 02:32:21 +0000 (02:32 +0000)
commitc7bf3805a1d9c8b9685a2953511f90dfeaee421c
treec1410e8ee0779f0cadc9a03b5d5aaf63c2534176
parent6f4a165e5147293020e4c3e922f4b088d9de2f5f
Add -fmodules-ts flag to cc1 for the provisional C++ modules TS, and mark
'module' and 'import' as keywords when the flag is specified.

llvm-svn: 276508
clang/include/clang/Basic/LangOptions.def
clang/include/clang/Basic/TokenKinds.def
clang/include/clang/Driver/CC1Options.td
clang/lib/Basic/IdentifierTable.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/Lexer/modules-ts.cpp [new file with mode: 0644]