llvm-project/clang/include/clang/Sema
Saleem Abdulrasool 9bb5ecf1f7 Sema: introduce `__attribute__((__swift_name__))`
This introduces the new `swift_name` attribute that allows annotating
APIs with an alternate spelling for Swift.  This is used as part of the
importing mechanism to allow interfaces to be imported with a new name
into Swift.  It takes a parameter which is the Swift function name.
This parameter is validated to check if it matches the possible
transformed signature in Swift.

This is based on the work of the original changes in
8afaf3aad2

Differential Revision: https://reviews.llvm.org/D87534
Reviewed By: Aaron Ballman, Dmitri Gribenko
2020-09-22 15:32:23 +00:00
..
AnalysisBasedWarnings.h Defer capture initialization for blocks until after we've left the 2019-05-31 00:45:09 +00:00
CMakeLists.txt
CXXFieldCollector.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CleanupInfo.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CodeCompleteConsumer.h [clangd] Do not insert parentheses when completing a using declaration 2019-10-28 09:45:10 +01:00
CodeCompleteOptions.h Revert "Move all fields of '-cc1' option related classes into def file databases" 2020-09-02 10:38:34 -07:00
DeclSpec.h [clang] Include trailing-requires-clause in FunctionDecl's source range 2020-08-04 02:52:01 -04:00
DelayedDiagnostic.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Designator.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ExternalSemaSource.h recommit 1b978ddba0 [CUDA][HIP][OpenMP] Emit deferred diagnostics by a post-parsing AST travese 2020-03-23 12:09:07 -04:00
IdentifierResolver.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Initialization.h [clang][Attribute] Fix noderef attribute false-negatives 2020-06-10 12:20:54 -07:00
Lookup.h [clang] Rename Decl::isHidden() to isUnconditionallyVisible(). 2020-06-12 09:33:42 +02:00
MultiplexExternalSemaSource.h Merge some of the PCH object support with modular codegen 2020-07-22 12:46:12 -07:00
ObjCMethodList.h Reland 'Fixed -Wdeprecated-copy warnings. NFCI.' 2019-11-23 23:09:39 +01:00
Overload.h [Sema][AArch64] Support arm_sve_vector_bits attribute 2020-08-27 10:38:32 +00:00
Ownership.h Revert "[NFC] Refactor DiagnosticBuilder and PartialDiagnostic" 2020-09-17 13:56:09 -04:00
ParsedAttr.h Revert "[NFC] Refactor DiagnosticBuilder and PartialDiagnostic" 2020-09-17 13:56:09 -04:00
ParsedTemplate.h Improve error recovery from missing '>' in template argument list. 2020-03-27 18:59:01 -07:00
Scope.h DR458: Search template parameter scopes in the right order. 2020-06-23 17:14:33 -07:00
ScopeInfo.h Remove improper uses of DiagnosticErrorTrap and hasErrorOccurred. 2020-06-08 14:19:57 -07:00
Sema.h Sema: introduce `__attribute__((__swift_name__))` 2020-09-22 15:32:23 +00:00
SemaConcept.h [Concepts] Correctly form initial parameter mapping for parameter packs, support substitution into SubstNonTypeTemplateParmExpr 2020-01-31 15:59:42 +02:00
SemaConsumer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SemaDiagnostic.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SemaFixItUtils.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SemaInternal.h Fix issue in typo handling which could lead clang to hang 2020-07-20 11:42:11 -04:00
SemaLambda.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Template.h Fix rejects-valid when referencing an implicit operator== from within a 2020-06-22 20:19:20 -07:00
TemplateDeduction.h PR44890: Inherit explicitly-specified template arguments into base class 2020-02-15 02:16:21 -08:00
TemplateInstCallback.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TypoCorrection.h [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Weak.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00