diff options
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
-rw-r--r-- | clang/lib/Sema/SemaExpr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index 00db12e22c3..e23c355823f 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -1644,7 +1644,7 @@ Sema::BuildDeclRefExpr(ValueDecl *D, QualType Ty, ExprValueKind VK, NameInfo.getLoc(), Ty, VK, FoundD, TemplateArgs); } else { assert(!TemplateArgs && "No template arguments for non-variable" - " template specialization referrences"); + " template specialization references"); E = DeclRefExpr::Create( Context, SS ? SS->getWithLocInContext(Context) : NestedNameSpecifierLoc(), @@ -3461,7 +3461,7 @@ static bool CheckAlignOfExpr(Sema &S, Expr *E) { // delayed parsing --- except for trailing return types in C++11. // And if an id-expression referring to a field occurs in a // context that lacks a 'this' value, it's ill-formed --- except, - // agian, in C++11, where such references are allowed in an + // again, in C++11, where such references are allowed in an // unevaluated context. So C++11 introduces some new complexity. // // For the record, since __alignof__ on expressions is a GCC |