forked from OSchip/llvm-project
parent
bb703e8960
commit
533777f257
|
@ -6650,7 +6650,7 @@ void Parser::ParseTypeofSpecifier(DeclSpec &DS) {
|
|||
return;
|
||||
}
|
||||
|
||||
// If we get here, the operand to the typeof was an expresion.
|
||||
// If we get here, the operand to the typeof was an expression.
|
||||
if (Operand.isInvalid()) {
|
||||
DS.SetTypeSpecError();
|
||||
return;
|
||||
|
|
|
@ -1866,7 +1866,7 @@ Parser::ParseExprAfterUnaryExprOrTypeTrait(const Token &OpTok,
|
|||
}
|
||||
}
|
||||
|
||||
// If we get here, the operand to the typeof/sizeof/alignof was an expresion.
|
||||
// If we get here, the operand to the typeof/sizeof/alignof was an expression.
|
||||
isCastExpr = false;
|
||||
return Operand;
|
||||
}
|
||||
|
@ -1972,7 +1972,7 @@ ExprResult Parser::ParseUnaryExprOrTypeTraitExpression() {
|
|||
if (OpTok.isOneOf(tok::kw_alignof, tok::kw__Alignof))
|
||||
Diag(OpTok, diag::ext_alignof_expr) << OpTok.getIdentifierInfo();
|
||||
|
||||
// If we get here, the operand to the sizeof/alignof was an expresion.
|
||||
// If we get here, the operand to the sizeof/alignof was an expression.
|
||||
if (!Operand.isInvalid())
|
||||
Operand = Actions.ActOnUnaryExprOrTypeTraitExpr(OpTok.getLocation(),
|
||||
ExprKind,
|
||||
|
|
|
@ -1186,7 +1186,7 @@ class Predicate
|
|||
/// @brief A C++ wrapper class for providing threaded access to a value
|
||||
/// of type T.
|
||||
///
|
||||
/// A template specilization class.
|
||||
/// A template specialization class.
|
||||
//----------------------------------------------------------------------
|
||||
template<> class Predicate<int, char>
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue