@@ -384,7 +384,7 @@ class Expr : public ValueStmt {
384
384
bool isRValue () const { return Kind >= CL_XValue; }
385
385
bool isModifiable () const { return getModifiable () == CM_Modifiable; }
386
386
387
- // / Create a simple, modifiably lvalue
387
+ // / Create a simple, modifiable lvalue
388
388
static Classification makeSimpleLValue () {
389
389
return Classification (CL_LValue, CM_Modifiable);
390
390
}
@@ -1292,7 +1292,7 @@ class DeclRefExpr final
1292
1292
1293
1293
DeclRefExpr (const ASTContext &Ctx, NestedNameSpecifierLoc QualifierLoc,
1294
1294
SourceLocation TemplateKWLoc, ValueDecl *D,
1295
- bool RefersToEnlosingVariableOrCapture ,
1295
+ bool RefersToEnclosingVariableOrCapture ,
1296
1296
const DeclarationNameInfo &NameInfo, NamedDecl *FoundD,
1297
1297
const TemplateArgumentListInfo *TemplateArgs, QualType T,
1298
1298
ExprValueKind VK, NonOdrUseReason NOUR);
@@ -1658,14 +1658,14 @@ class FloatingLiteral : public Expr, private APFloatStorage {
1658
1658
}
1659
1659
1660
1660
// / Get a raw enumeration value representing the floating-point semantics of
1661
- // / this literal (32-bit IEEE, x87, ...), suitable for serialisation .
1661
+ // / this literal (32-bit IEEE, x87, ...), suitable for serialization .
1662
1662
llvm::APFloatBase::Semantics getRawSemantics () const {
1663
1663
return static_cast <llvm::APFloatBase::Semantics>(
1664
1664
FloatingLiteralBits.Semantics );
1665
1665
}
1666
1666
1667
1667
// / Set the raw enumeration value representing the floating-point semantics of
1668
- // / this literal (32-bit IEEE, x87, ...), suitable for serialisation .
1668
+ // / this literal (32-bit IEEE, x87, ...), suitable for serialization .
1669
1669
void setRawSemantics (llvm::APFloatBase::Semantics Sem) {
1670
1670
FloatingLiteralBits.Semantics = Sem;
1671
1671
}
@@ -2130,7 +2130,7 @@ class SYCLUniqueStableNameExpr final : public Expr {
2130
2130
static std::string ComputeName (ASTContext &Context, QualType Ty);
2131
2131
};
2132
2132
2133
- // / ParenExpr - This represents a parethesized expression, e.g. "(1)". This
2133
+ // / ParenExpr - This represents a parenthesized expression, e.g. "(1)". This
2134
2134
// / AST node is only formed if full location information is requested.
2135
2135
class ParenExpr : public Expr {
2136
2136
SourceLocation L, R;
@@ -2246,7 +2246,7 @@ class UnaryOperator final
2246
2246
bool canOverflow () const { return UnaryOperatorBits.CanOverflow ; }
2247
2247
void setCanOverflow (bool C) { UnaryOperatorBits.CanOverflow = C; }
2248
2248
2249
- // / Get the FP contractability status of this operator. Only meaningful for
2249
+ // / Get the FP contractibility status of this operator. Only meaningful for
2250
2250
// / operations on floating point types.
2251
2251
bool isFPContractableWithinStatement (const LangOptions &LO) const {
2252
2252
return getFPFeaturesInEffect (LO).allowFPContractWithinStatement ();
@@ -4054,7 +4054,7 @@ class BinaryOperator : public Expr {
4054
4054
return FPOptionsOverride ();
4055
4055
}
4056
4056
4057
- // / Get the FP contractability status of this operator. Only meaningful for
4057
+ // / Get the FP contractibility status of this operator. Only meaningful for
4058
4058
// / operations on floating point types.
4059
4059
bool isFPContractableWithinStatement (const LangOptions &LO) const {
4060
4060
return getFPFeaturesInEffect (LO).allowFPContractWithinStatement ();
@@ -4295,7 +4295,7 @@ class BinaryConditionalOperator : public AbstractConditionalOperator {
4295
4295
}
4296
4296
4297
4297
// / getFalseExpr - Return the subexpression which will be
4298
- // / evaluated if the condnition evaluates to false; this is
4298
+ // / evaluated if the condition evaluates to false; this is
4299
4299
// / defined in terms of the opaque value.
4300
4300
Expr *getFalseExpr () const {
4301
4301
return cast<Expr>(SubExprs[RHS]);
@@ -6003,7 +6003,7 @@ class GenericSelectionExpr final
6003
6003
// if *It1 and *It2 are bound to the same objects.
6004
6004
// An alternative design approach was discussed during review;
6005
6005
// store an Association object inside the iterator, and return a reference
6006
- // to it when dereferenced. This idea was discarded beacuse of nasty
6006
+ // to it when dereferenced. This idea was discarded because of nasty
6007
6007
// lifetime issues:
6008
6008
// AssociationIterator It = ...;
6009
6009
// const Association &Assoc = *It++; // Oops, Assoc is dangling.
0 commit comments