llvm-project/clang/lib/Serialization
Erik Pilkington 29099ded0c [ObjC] Implement @available in the Parser and AST
This patch adds a new AST node: ObjCAvailabilityCheckExpr, and teaches the
Parser and Sema to generate it. This node represents an availability check of
the form:

  @available(macos 10.10, *);

Which will eventually compile to a runtime check of the host's OS version. This
is the first patch of the feature I proposed here:
http://lists.llvm.org/pipermail/cfe-dev/2016-July/049851.html

Differential Revision: https://reviews.llvm.org/D22171

llvm-svn: 275654
2016-07-16 00:35:23 +00:00
..
ASTCommon.cpp P0136R1, DR1573, DR1645, DR1715, DR1736, DR1903, DR1941, DR1959, DR1991: 2016-06-28 19:03:57 +00:00
ASTCommon.h [OPENMP] Parsing and Sema support for 'omp declare target' directive 2016-04-06 11:38:59 +00:00
ASTReader.cpp Revert r275481, r275490. This broke modules bootstrap. 2016-07-15 21:33:46 +00:00
ASTReaderDecl.cpp Revert r275481, r275490. This broke modules bootstrap. 2016-07-15 21:33:46 +00:00
ASTReaderInternals.h Re-commit r246497 (and dependent changes r246524 and r246521), reverted in 2015-09-01 20:35:42 +00:00
ASTReaderStmt.cpp [ObjC] Implement @available in the Parser and AST 2016-07-16 00:35:23 +00:00
ASTWriter.cpp [AST] Keep track of the left brace source location of a tag decl. 2016-07-15 18:11:33 +00:00
ASTWriterDecl.cpp Revert r275481, r275490. This broke modules bootstrap. 2016-07-15 21:33:46 +00:00
ASTWriterStmt.cpp [ObjC] Implement @available in the Parser and AST 2016-07-16 00:35:23 +00:00
CMakeLists.txt Introduce module file extensions to piggy-back data onto module files. 2015-11-03 18:33:07 +00:00
GeneratePCH.cpp [PCH/preamble] Make sure that if the preamble/PCH was serialized with errors that we set diagnostic engine state appropriately. 2016-07-13 20:35:26 +00:00
GlobalModuleIndex.cpp Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith r259192 post commit comment. 2016-01-29 19:38:18 +00:00
Module.cpp [modules] Remove CXX_BASE_SPECIFIERS_OFFSETS table. Instead of storing an ID of 2016-04-14 00:29:55 +00:00
ModuleFileExtension.cpp Introduce module file extensions to piggy-back data onto module files. 2015-11-03 18:33:07 +00:00
ModuleManager.cpp Use ranges to concisely express iteration 2016-06-23 00:15:04 +00:00
MultiOnDiskHashTable.h Roll-back r250822. 2015-10-20 13:23:58 +00:00