llvm-project/clang/lib/Lex
Douglas Gregor c41d94eb1a Clean up the C++0x __has_feature tests. Specifically:
- Don't publicize a C++0x feature through __has_feature if we aren't
    in C++0x mode (even if the feature is available only with a
    warning). 
  - "auto" is not implemented well enough for its __has_feature to be
    turned on.
  - Fix the test of C++0x __has_feature to actually test what we're
  trying to test. Searching for the substring "foo" when our options
  are "foo" and "no_foo" doesn't work :)

llvm-svn: 124291
2011-01-26 15:36:03 +00:00
..
CMakeLists.txt Add a __has_attribute macro that works much like __has_feature and __has_builtin. 2010-10-20 02:31:43 +00:00
HeaderMap.cpp Add missing standard includes. Patch by Joerg Sonnenberger! 2010-12-19 20:49:25 +00:00
HeaderSearch.cpp Replace all uses of PathV1::exists with PathV2::fs::exists. 2011-01-10 02:34:13 +00:00
Lexer.cpp Introduced raw_identifier token kind. 2010-12-22 08:23:18 +00:00
LiteralSupport.cpp Microsoft integer suffix changes: 2011-01-11 11:57:53 +00:00
MacroArgs.cpp Audit all Preprocessor::getSpelling() callers, improving failure 2010-03-16 22:30:13 +00:00
MacroArgs.h The PreExpArgTokens array is indexed with an argument #, 2009-12-28 06:17:16 +00:00
MacroInfo.cpp Fix diagnostic pragmas. 2010-12-15 18:44:22 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
PPCaching.cpp Remove the check for repeated tok::eofs, we are not supposed to go past eof so this code is 2010-07-12 21:41:41 +00:00
PPDirectives.cpp When redefining a macro don't warn twice if it's not used and don't warn for duplicate 2011-01-18 19:50:15 +00:00
PPExpressions.cpp Fix diagnostic pragmas. 2010-12-15 18:44:22 +00:00
PPLexerChange.cpp Fix diagnostic pragmas. 2010-12-15 18:44:22 +00:00
PPMacroExpansion.cpp Clean up the C++0x __has_feature tests. Specifically: 2011-01-26 15:36:03 +00:00
PTHLexer.cpp MemoryBuffer API update. 2010-12-16 03:28:14 +00:00
Pragma.cpp Introduced raw_identifier token kind. 2010-12-22 08:23:18 +00:00
PreprocessingRecord.cpp Several PPCallbacks take an SourceLocation + IdentifierInfo, rather 2010-11-19 21:33:15 +00:00
Preprocessor.cpp Introduced raw_identifier token kind. 2010-12-22 08:23:18 +00:00
PreprocessorLexer.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
ScratchBuffer.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
TokenConcatenation.cpp Introduced raw_identifier token kind. 2010-12-22 08:23:18 +00:00
TokenLexer.cpp Introduced raw_identifier token kind. 2010-12-22 08:23:18 +00:00