llvm-project/clang/lib/Lex
Ed Schouten 401aebab93 Make __has_extension(c_thread_local) work.
Unlike C++11's "thread_local" keyword, C11's "_Thread_local" is in the
reserved namespace, meaning we provide it unconditionally; it is marked
as KEYALL in TokenKinds.def.

This means that like all the other C11 keywords, we can expose its
presence through __has_extension().

llvm-svn: 190755
2013-09-14 16:17:20 +00:00
..
CMakeLists.txt clang/Lex: [CMake] Update CMakefiles since r169229. 2012-12-04 07:40:33 +00:00
HeaderMap.cpp Use only explicit bool conversion operator 2013-05-15 07:37:26 +00:00
HeaderSearch.cpp [Modules] If a module map resides in a system header directory, treat it as a system module. 2013-06-21 16:28:10 +00:00
Lexer.cpp Use new UnicodeCharSet interface. 2013-08-29 12:12:31 +00:00
LiteralSupport.cpp Revert r188863 which could propose wrong fixits for multibyte character literals. 2013-08-21 18:57:51 +00:00
MacroArgs.cpp [Preprocessor] For the MacroExpands preprocessor callback, also pass the MacroArgs object that provides information about 2013-05-03 22:31:32 +00:00
MacroInfo.cpp [preprocessor] Minor optimization following r178671. 2013-04-03 21:29:07 +00:00
Makefile
ModuleMap.cpp Simplify code with the in place path::native. No functionality change. 2013-09-11 11:23:15 +00:00
PPCaching.cpp [preprocessor] In Preprocessor::CachingLex() check whether there were more tokens 2012-04-04 02:57:01 +00:00
PPCallbacks.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
PPConditionalDirectiveRecord.cpp Add condition expression result to if and elif callbacks. 2013-07-18 00:00:36 +00:00
PPDirectives.cpp Split isFromMainFile into two functions. 2013-08-22 00:27:10 +00:00
PPExpressions.cpp Partially revert r186903. 2013-07-26 00:06:45 +00:00
PPLexerChange.cpp Introducing -Wheader-guard, a warning that checks header guards actually work 2013-06-12 21:20:57 +00:00
PPMacroExpansion.cpp Make __has_extension(c_thread_local) work. 2013-09-14 16:17:20 +00:00
PTHLexer.cpp Use llvm::sys::fs::UniqueID for windows and unix. 2013-08-01 21:42:11 +00:00
Pragma.cpp Lex and ignore Microsoft's #pragma warning(...) 2013-09-13 22:00:30 +00:00
PreprocessingRecord.cpp Add SourceRange to PPCallbacks::Defined callback. 2013-07-19 18:50:04 +00:00
Preprocessor.cpp Add option to disable module loading. 2013-08-05 20:26:17 +00:00
PreprocessorLexer.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
ScratchBuffer.cpp Rename SourceLocation::getFileLocWithOffset -> getLocWithOffset. 2011-09-19 20:40:19 +00:00
TokenConcatenation.cpp Simplify logic for avoiding concatenation after numeric constants. 2013-02-08 22:30:31 +00:00
TokenLexer.cpp Use pop_back_val() instead of both back() and pop_back(). 2013-08-23 16:11:15 +00:00
UnicodeCharSets.h Use new UnicodeCharSet interface. 2013-08-29 12:12:31 +00:00