llvm-project/clang/lib/Basic
Hubert Tong 6e04f98bc3 [Concepts] lex keywords: concept and requires
Summary:
This patch enables lexing of `concept` and `requires` as keywords.
Further changes which add messages for future keyword compat are to
follow.

Test Plan:
Testing of C++14 + Concepts TS mode is added to
`test/Lexer/keywords_test.cpp`, which expects that the new keywords are
enabled under said mode.

Reviewers: faisalv, fraggamuffin, rsmith

Reviewed By: rsmith

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D10233

llvm-svn: 239128
2015-06-05 01:10:24 +00:00
..
Attributes.cpp Complete support for the SD-6 standing document (based off N4200) with support for __has_cpp_attribute. 2014-11-14 13:44:02 +00:00
Builtins.cpp CodeGen: make target builtins support languages 2014-07-02 17:41:27 +00:00
CMakeLists.txt Revert r223578, perf data collection depends on the old symbol name. 2014-12-10 23:49:03 +00:00
CharInfo.cpp CharInfo: Add missing "using namespace clang::charinfo" in .cpp file. 2013-02-08 22:37:49 +00:00
Diagnostic.cpp Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial types 2015-05-29 19:42:19 +00:00
DiagnosticIDs.cpp Simplify boolean expressions in clang with clang-tidy 2015-03-09 02:02:07 +00:00
FileManager.cpp Remove many superfluous SmallString::str() calls. 2015-03-18 10:17:07 +00:00
FileSystemStatCache.cpp Make VFS and FileManager match the current MemoryBuffer API. 2014-10-26 22:44:13 +00:00
IdentifierTable.cpp [Concepts] lex keywords: concept and requires 2015-06-05 01:10:24 +00:00
LangOptions.cpp Allow to specify multiple -fsanitize-blacklist= arguments. 2015-02-04 17:40:08 +00:00
Makefile Revert r223578, perf data collection depends on the old symbol name. 2014-12-10 23:49:03 +00:00
Module.cpp [modules] Retain the name as written for umbrella headers and directories, rather than converting to an absolute path. No observable change expected, but this allows us to correctly compute the module for an umbrella header, which later changes will require. 2015-05-16 02:28:53 +00:00
ObjCRuntime.cpp Add a define for the ObjFW runtime ABI version. 2013-09-16 16:31:49 +00:00
OpenMPKinds.cpp [OPENMP] Codegen for 'copyin' clause in 'parallel' directive. 2015-04-16 05:39:01 +00:00
OperatorPrecedence.cpp Replace C++0x in a comment with C++11 2013-07-14 17:04:56 +00:00
SanitizerBlacklist.cpp Allow to specify multiple -fsanitize-blacklist= arguments. 2015-02-04 17:40:08 +00:00
Sanitizers.cpp Move sanitizer parser and group expander from Driver to Basic. 2015-05-11 21:39:20 +00:00
SourceLocation.cpp Inline function into only use. 2014-08-18 18:17:32 +00:00
SourceManager.cpp Prefer uninitialized memory for scratch space. 2015-04-06 17:45:11 +00:00
TargetInfo.cpp Revert code changes made under r235976. 2015-04-29 14:32:06 +00:00
Targets.cpp Simplify ARMTargetParser::parseArch(ARMTargetParser::getCanonical()), following r239099 2015-06-04 21:31:41 +00:00
TokenKinds.cpp [C++11] Use 'nullptr'. 2014-05-08 06:41:40 +00:00
Version.cpp Revert r223578, perf data collection depends on the old symbol name. 2014-12-10 23:49:03 +00:00
VersionTuple.cpp MS ABI: Implement driver-level support for thread-safe statics 2015-03-22 08:39:22 +00:00
VirtualFileSystem.cpp Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
Warnings.cpp Use -Rblah, not -Wblah, to control remark diagnostics. This was always the 2014-08-07 00:24:21 +00:00