mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
implement a lot more semantic analysis for tuple conversions.
Swift SVN r136
This commit is contained in:
@@ -26,6 +26,7 @@ namespace llvm {
|
||||
namespace swift {
|
||||
class ASTContext;
|
||||
class NamedDecl;
|
||||
class Identifier;
|
||||
|
||||
enum TypeKind {
|
||||
BuiltinDependentKind,
|
||||
@@ -125,6 +126,9 @@ public:
|
||||
/// NamedDecls automatically.
|
||||
Type *getElementType(unsigned FieldNo) const;
|
||||
|
||||
/// getNamedElementId - If this tuple has a field with the specified name,
|
||||
/// return the field index, otherwise return -1.
|
||||
int getNamedElementId(Identifier I) const;
|
||||
|
||||
void print(llvm::raw_ostream &OS) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user