clang 24.0.0git
SemaSwift.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  clang
 Top level wrappers for InstallAPI frontend operations.

Functions

static bool clang::isValidSwiftContextType (QualType Ty)
 Pointer-like types in the default address space.
static bool clang::isValidSwiftIndirectResultType (QualType Ty)
 Pointers and references in the default address space.
static bool clang::isValidSwiftErrorResultType (QualType Ty)
 Pointers and references to pointers in the default address space.
static bool clang::isValidIdentifierEscapedChar (char c)
static bool clang::isValidAsEscapedIdentifier (StringRef string)
static std::pair< StringRef, StringRef > clang::backtickAwareSplit (StringRef text, char separator)
static std::pair< StringRef, StringRef > clang::backtickAwareRSplit (StringRef text, char separator)
static bool clang::isValidSwiftIdentifier (StringRef text)
 Returns true if the string is a valid ASCII Swift identifier.
static bool clang::isValidSwiftContextName (StringRef ContextName)
static bool clang::isErrorParameter (Sema &S, QualType QT)
static void clang::checkSwiftAsyncErrorBlock (Sema &S, Decl *D, const SwiftAsyncErrorAttr *ErrorAttr, const SwiftAsyncAttr *AsyncAttr)
static bool clang::validateSwiftFunctionName (Sema &S, const ParsedAttr &AL, SourceLocation Loc, StringRef Name, unsigned &SwiftParamCount, bool &IsSingleParamInit)