forked from OSchip/llvm-project
parent
569f92f1e1
commit
e72321f38e
|
@ -1315,7 +1315,7 @@ class ForEachMatcher : public WrapperMatcherInterface<T> {
|
|||
///
|
||||
/// Input matchers can have any type (including other polymorphic matcher
|
||||
/// types), and the actual Matcher<T> is generated on demand with an implicit
|
||||
/// coversion operator.
|
||||
/// conversion operator.
|
||||
template <typename... Ps> class VariadicOperatorMatcher {
|
||||
public:
|
||||
VariadicOperatorMatcher(DynTypedMatcher::VariadicOperator Op, Ps &&... Params)
|
||||
|
|
|
@ -513,7 +513,7 @@ StringRef index::getSymbolKindString(SymbolKind K) {
|
|||
case SymbolKind::StaticProperty: return "static-property";
|
||||
case SymbolKind::Constructor: return "constructor";
|
||||
case SymbolKind::Destructor: return "destructor";
|
||||
case SymbolKind::ConversionFunction: return "coversion-func";
|
||||
case SymbolKind::ConversionFunction: return "conversion-func";
|
||||
case SymbolKind::Parameter: return "param";
|
||||
case SymbolKind::Using: return "using";
|
||||
}
|
||||
|
|
|
@ -7173,7 +7173,7 @@ ExprResult Sema::BuildCXXMemberCallExpr(Expr *E, NamedDecl *FoundDecl,
|
|||
|
||||
if (Method->getParent()->isLambda() &&
|
||||
Method->getConversionType()->isBlockPointerType()) {
|
||||
// This is a lambda coversion to block pointer; check if the argument
|
||||
// This is a lambda conversion to block pointer; check if the argument
|
||||
// was a LambdaExpr.
|
||||
Expr *SubE = E;
|
||||
CastExpr *CE = dyn_cast<CastExpr>(SubE);
|
||||
|
|
Loading…
Reference in New Issue