aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Sema/Sema.h2
-rw-r--r--lib/Sema/SemaExprObjC.cpp17
-rw-r--r--lib/Sema/TreeTransform.h4
3 files changed, 5 insertions, 18 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h
index eaa18071ca..39351bb284 100644
--- a/lib/Sema/Sema.h
+++ b/lib/Sema/Sema.h
@@ -3887,7 +3887,6 @@ public:
SourceLocation SuperLoc,
Selector Sel,
SourceLocation LBracLoc,
- SourceLocation SelectorLoc,
SourceLocation RBracLoc,
MultiExprArg Args);
@@ -3904,7 +3903,6 @@ public:
SourceLocation SuperLoc,
Selector Sel,
SourceLocation LBracLoc,
- SourceLocation SelectorLoc,
SourceLocation RBracLoc,
MultiExprArg Args);
diff --git a/lib/Sema/SemaExprObjC.cpp b/lib/Sema/SemaExprObjC.cpp
index 71833f254c..343ecbc28c 100644
--- a/lib/Sema/SemaExprObjC.cpp
+++ b/lib/Sema/SemaExprObjC.cpp
@@ -643,16 +643,14 @@ Sema::OwningExprResult Sema::ActOnSuperMessage(Scope *S,
QualType SuperTy = Context.getObjCInterfaceType(Super);
SuperTy = Context.getObjCObjectPointerType(SuperTy);
return BuildInstanceMessage(ExprArg(*this), SuperTy, SuperLoc,
- Sel, LBracLoc, SelectorLoc, RBracLoc,
- move(Args));
+ Sel, LBracLoc, RBracLoc, move(Args));
}
// Since we are in a class method, this is a class message to
// the superclass.
return BuildClassMessage(/*ReceiverTypeInfo=*/0,
Context.getObjCInterfaceType(Super),
- SuperLoc, Sel, LBracLoc, SelectorLoc,
- RBracLoc, move(Args));
+ SuperLoc, Sel, LBracLoc, RBracLoc, move(Args));
}
/// \brief Build an Objective-C class message expression.
@@ -677,8 +675,6 @@ Sema::OwningExprResult Sema::ActOnSuperMessage(Scope *S,
///
/// \param LBracLoc The location of the opening square bracket ']'.
///
-/// \param SelectorLoc The location of the first identifier in the selector.
-///
/// \param RBrac The location of the closing square bracket ']'.
///
/// \param Args The message arguments.
@@ -687,7 +683,6 @@ Sema::OwningExprResult Sema::BuildClassMessage(TypeSourceInfo *ReceiverTypeInfo,
SourceLocation SuperLoc,
Selector Sel,
SourceLocation LBracLoc,
- SourceLocation SelectorLoc,
SourceLocation RBracLoc,
MultiExprArg ArgsIn) {
if (ReceiverType->isDependentType()) {
@@ -781,7 +776,7 @@ Sema::OwningExprResult Sema::ActOnClassMessage(Scope *S,
return BuildClassMessage(ReceiverTypeInfo, ReceiverType,
/*SuperLoc=*/SourceLocation(), Sel,
- LBracLoc, SelectorLoc, RBracLoc, move(Args));
+ LBracLoc, RBracLoc, move(Args));
}
/// \brief Build an Objective-C instance message expression.
@@ -806,8 +801,6 @@ Sema::OwningExprResult Sema::ActOnClassMessage(Scope *S,
///
/// \param LBracLoc The location of the opening square bracket ']'.
///
-/// \param SelectorLoc The location of the first identifier in the selector.
-///
/// \param RBrac The location of the closing square bracket ']'.
///
/// \param Args The message arguments.
@@ -816,7 +809,6 @@ Sema::OwningExprResult Sema::BuildInstanceMessage(ExprArg ReceiverE,
SourceLocation SuperLoc,
Selector Sel,
SourceLocation LBracLoc,
- SourceLocation SelectorLoc,
SourceLocation RBracLoc,
MultiExprArg ArgsIn) {
// If we have a receiver expression, perform appropriate promotions
@@ -1001,7 +993,6 @@ Sema::OwningExprResult Sema::ActOnInstanceMessage(Scope *S,
return BuildInstanceMessage(move(ReceiverE), Receiver->getType(),
/*SuperLoc=*/SourceLocation(),
- Sel, LBracLoc, SelectorLoc, RBracLoc,
- move(Args));
+ Sel, LBracLoc, RBracLoc, move(Args));
}
diff --git a/lib/Sema/TreeTransform.h b/lib/Sema/TreeTransform.h
index 0463a12f09..6a7f6cbdf4 100644
--- a/lib/Sema/TreeTransform.h
+++ b/lib/Sema/TreeTransform.h
@@ -1704,7 +1704,6 @@ public:
/*SuperLoc=*/SourceLocation(),
Sel,
LBracLoc,
- /*FIXME:*/LBracLoc,
RBracLoc,
move(Args));
}
@@ -1723,7 +1722,6 @@ public:
/*SuperLoc=*/SourceLocation(),
Sel,
LBracLoc,
- /*FIXME:*/LBracLoc,
RBracLoc,
move(Args));
}
@@ -2339,7 +2337,7 @@ TreeTransform<Derived>::TransformBlockPointerType(TypeLocBuilder &TLB,
return QualType();
}
- BlockPointerLoc NewT = TLB.push<BlockPointerLoc>(Result);
+ BlockPointerTypeLoc NewT = TLB.push<BlockPointerTypeLoc>(Result);
NewT.setSigilLoc(TL.getSigilLoc());
return Result;
}