llvm-project/clang/lib/Sema
Michael Wu 260e962402 Support Swift in platform availability attribute
Summary: This adds support for Swift platform availability attributes. It's largely a port of the changes made to https://github.com/apple/swift-clang/ for Swift availability attributes. Specifically, 84b5a21c31 and e5b87f265a . The implementation of attribute_availability_swift is a little different and additional tests in test/Index/availability.c were added.

Reviewers: manmanren, friss, doug.gregor, arphaman, jfb, erik.pilkington, aaron.ballman

Reviewed By: aaron.ballman

Subscribers: aaron.ballman, ColinKinloch, jrmuizel, cfe-commits

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

llvm-svn: 346633
2018-11-12 02:44:33 +00:00
..
AnalysisBasedWarnings.cpp llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...) 2018-09-26 22:16:28 +00:00
CMakeLists.txt Fix llvm-clang-x86_64-expensive-checks-win build by setting bigobj flag. 2018-10-05 12:33:57 +00:00
CodeCompleteConsumer.cpp [clang] Introduce new completion context types 2018-10-24 15:23:49 +00:00
CoroutineStmtBuilder.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
DeclSpec.cpp [SEMA] split ExtWarn dupl-decl-spec's into Extension and ExtWarn 2018-10-03 23:09:29 +00:00
DelayedDiagnostic.cpp Remove trailing space 2018-07-30 19:24:48 +00:00
IdentifierResolver.cpp [AST] Various optimizations + refactoring in DeclarationName(Table) 2018-09-21 12:53:22 +00:00
JumpDiagnostics.cpp Port getLocStart -> getBeginLoc 2018-08-09 21:08:08 +00:00
MultiplexExternalSemaSource.cpp Remove trailing space 2018-07-30 19:24:48 +00:00
ParsedAttr.cpp Allow a double-underscore spelling of Clang attributes using double square bracket syntax. 2018-11-09 19:37:18 +00:00
Scope.cpp Revert r335019 "Update NRVO logic to support early return (Attempt 2)" 2018-06-19 05:35:30 +00:00
ScopeInfo.cpp Distinguish `__block` variables that are captured by escaping blocks 2018-10-01 21:51:28 +00:00
Sema.cpp [OpenCL] Add support of cl_intel_device_side_avc_motion_estimation extension 2018-11-08 11:25:41 +00:00
SemaAccess.cpp P0969R0: allow structured binding of accessible members, not only public members. 2018-09-25 22:12:44 +00:00
SemaAttr.cpp Revert "Revert "Support for groups of attributes in #pragma clang attribute"" 2018-10-29 17:38:42 +00:00
SemaCUDA.cpp [NFC] Rename clang::AttributeList to clang::ParsedAttr 2018-07-13 15:07:47 +00:00
SemaCXXScopeSpec.cpp Clean up and simplify RequireCompleteType. 2018-08-07 21:35:41 +00:00
SemaCast.cpp NFC: Remove the ObjC1/ObjC2 distinction from clang (and related projects) 2018-10-30 20:31:30 +00:00
SemaChecking.cpp [mips][msa] Fix msa_[st/ld] offset check 2018-11-07 11:37:05 +00:00
SemaCodeComplete.cpp [CodeComplete] Do not complete self-initializations 2018-11-07 10:02:31 +00:00
SemaConsumer.cpp
SemaCoroutine.cpp [coro]Pass rvalue reference for named local variable to return_value 2018-10-08 03:08:39 +00:00
SemaDecl.cpp Add /Zc:DllexportInlines option to clang-cl 2018-11-03 06:45:00 +00:00
SemaDeclAttr.cpp Support Swift in platform availability attribute 2018-11-12 02:44:33 +00:00
SemaDeclCXX.cpp Add /Zc:DllexportInlines option to clang-cl 2018-11-03 06:45:00 +00:00
SemaDeclObjC.cpp Port getLocEnd -> getEndLoc 2018-08-09 21:09:38 +00:00
SemaExceptionSpec.cpp Create ConstantExpr class 2018-10-31 03:48:47 +00:00
SemaExpr.cpp Compound literals, enums, et al require const expr 2018-11-09 00:41:36 +00:00
SemaExprCXX.cpp Revert "[SemaCXX] Unconfuse Clang when std::align_val_t is unscoped in C++03" 2018-10-25 19:50:43 +00:00
SemaExprMember.cpp NFC: Remove the ObjC1/ObjC2 distinction from clang (and related projects) 2018-10-30 20:31:30 +00:00
SemaExprObjC.cpp NFC: Remove the ObjC1/ObjC2 distinction from clang (and related projects) 2018-10-30 20:31:30 +00:00
SemaFixItUtils.cpp [Sema] Revert r329346 because of memory sanitizer failures. 2018-04-05 22:15:42 +00:00
SemaInit.cpp Compound literals, enums, et al require const expr 2018-11-09 00:41:36 +00:00
SemaLambda.cpp NFC: Remove the ObjC1/ObjC2 distinction from clang (and related projects) 2018-10-30 20:31:30 +00:00
SemaLookup.cpp Use llvm::{all,any,none}_of instead std::{all,any,none}_of. NFC 2018-10-20 17:53:42 +00:00
SemaObjCProperty.cpp Add -Wobjc-property-assign-on-object-type. 2018-09-05 19:02:00 +00:00
SemaOpenMP.cpp Add support for 'atomic_default_mem_order' clause on 'requires' directive. Also renamed test files relating to 'requires'. Differntial review: https://reviews.llvm.org/D53513 2018-11-02 12:18:11 +00:00
SemaOverload.cpp Compound literals, enums, et al require const expr 2018-11-09 00:41:36 +00:00
SemaPseudoObject.cpp Port getLocStart -> getBeginLoc 2018-08-09 21:08:08 +00:00
SemaStmt.cpp Create ConstantExpr class 2018-10-31 03:48:47 +00:00
SemaStmtAsm.cpp [AST, analyzer] Transform rvalue cast outputs to lvalues (fheinous-gnu-extensions) 2018-10-20 22:49:23 +00:00
SemaStmtAttr.cpp Merge two attribute diagnostics into one 2018-09-17 10:39:46 +00:00
SemaTemplate.cpp [clang] Properly apply attributes on explicit instantiations of static data members 2018-10-10 15:32:29 +00:00
SemaTemplateDeduction.cpp Port getLocStart -> getBeginLoc 2018-08-09 21:08:08 +00:00
SemaTemplateInstantiate.cpp Fix clang -Wimplicit-fallthrough warnings across llvm, NFC 2018-11-01 19:54:45 +00:00
SemaTemplateInstantiateDecl.cpp Follow-up to r345699: Call CheckStaticLocalForDllExport later for templates 2018-10-31 10:34:46 +00:00
SemaTemplateVariadic.cpp Fix clang -Wimplicit-fallthrough warnings across llvm, NFC 2018-11-01 19:54:45 +00:00
SemaType.cpp Compound literals, enums, et al require const expr 2018-11-09 00:41:36 +00:00
TreeTransform.h Add support for 'atomic_default_mem_order' clause on 'requires' directive. Also renamed test files relating to 'requires'. Differntial review: https://reviews.llvm.org/D53513 2018-11-02 12:18:11 +00:00
TypeLocBuilder.cpp
TypeLocBuilder.h Remove trailing space 2018-07-30 19:24:48 +00:00