llvm-project/clang/lib/Lex
Jordan Rose 68449acea4 Add __has_feature(attribute_availability_with_message).
This tests for the ability to include a "message" field in availability
attributes, like so:

  extern void ATSFontGetName(const char *oName)
    __attribute__((availability(macosx,introduced=8.0,deprecated=9.0,
                                message="use CTFontCopyFullName")));

This was actually supported in Clang 3.1, but we got a request for a
__has_feature so that header files can use this more safely. It's
unfortunate that the 3.1 release doesn't include this, however.

<rdar://problem/11886458>

llvm-svn: 160699
2012-07-24 21:55:34 +00:00
..
CMakeLists.txt Remove a goofy CMake hack and use the standard CMake facilities to 2012-06-21 01:30:21 +00:00
HeaderMap.cpp Basic: import SmallString<> into clang namespace 2012-02-05 02:13:05 +00:00
HeaderSearch.cpp Fix a typo (the the => the) 2012-07-23 08:59:39 +00:00
Lexer.cpp Add warning flag -Winvalid-pp-token for preprocessing-tokens which have 2012-06-28 07:51:56 +00:00
LiteralSupport.cpp Share ConvertUTF8toWide() between Lex and CodeGen. 2012-07-03 02:24:52 +00:00
MacroArgs.cpp Correct handling of _Pragma macro inside a macro argument. 2012-04-03 16:47:40 +00:00
MacroArgs.h Fixed exapnsion range for # and ##. 2011-10-03 18:39:03 +00:00
MacroInfo.cpp For modules, all macros that aren't include guards are implicitly 2011-10-17 15:32:29 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
ModuleMap.cpp Make ModuleMapParser own its TargetInfo, so it doesn't get leaked. 2012-03-29 14:07:03 +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
PPDirectives.cpp Adding a fixit for includes that cannot be found with angle brackets, but can be found with quoted strings instead. Implements PR13201. 2012-07-17 23:19:16 +00:00
PPExpressions.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
PPLexerChange.cpp Documentation cleanup: escape # characters in Doxygen comments as needed. 2012-06-22 05:36:05 +00:00
PPMacroExpansion.cpp Add __has_feature(attribute_availability_with_message). 2012-07-24 21:55:34 +00:00
PTHLexer.cpp Basic: import OwningPtr<> into clang namespace 2012-02-05 02:12:40 +00:00
Pragma.cpp Use -frewrite-includes for crash reports. 2012-06-29 22:03:56 +00:00
PreprocessingRecord.cpp Documentation cleanup: 2012-06-22 05:37:13 +00:00
Preprocessor.cpp Patch for handling C99 veriadic macros when using precompiled headers, 2012-06-29 18:27:59 +00:00
PreprocessorLexer.cpp Documentation cleanup: Use \brief for summaries, and escape # characters. 2012-06-17 03:41:54 +00:00
ScratchBuffer.cpp Rename SourceLocation::getFileLocWithOffset -> getLocWithOffset. 2011-09-19 20:40:19 +00:00
TokenConcatenation.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
TokenLexer.cpp Fix a typo (the the => the) 2012-07-23 08:59:39 +00:00