summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-12-29 20:09:37 +0000
committerSanjay Patel <spatel@rotateright.com>2015-12-29 20:09:37 +0000
commit71fca736bc4b6dccd2e2b5598306abc6d58c5479 (patch)
tree9d631275bcd9f4aee3a59dcec2d11158fc440d59 /clang/lib/Sema/SemaExpr.cpp
parentde6d6c486031bacf3097831dd9fe95b9dab59fe9 (diff)
downloadbcm5719-llvm-71fca736bc4b6dccd2e2b5598306abc6d58c5479.tar.gz
bcm5719-llvm-71fca736bc4b6dccd2e2b5598306abc6d58c5479.zip
fix typos; NFC
llvm-svn: 256576
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
-rw-r--r--clang/lib/Sema/SemaExpr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index 888319b395c..9de32d55f26 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/lib/Sema/SemaExpr.cpp
@@ -4772,7 +4772,7 @@ static bool checkArgsForPlaceholders(Sema &S, MultiExprArg args) {
}
/// If a builtin function has a pointer argument with no explicit address
-/// space, than it should be able to accept a pointer to any address
+/// space, then it should be able to accept a pointer to any address
/// space as input. In order to do this, we need to replace the
/// standard builtin declaration with one that uses the same address space
/// as the call.
@@ -4953,7 +4953,7 @@ Sema::ActOnCallExpr(Scope *S, Expr *Fn, SourceLocation LParenLoc,
FunctionDecl *FDecl = dyn_cast<FunctionDecl>(NDecl);
if (FDecl && FDecl->getBuiltinID()) {
- // Rewrite the function decl for this builtin by replacing paramaters
+ // Rewrite the function decl for this builtin by replacing parameters
// with no explicit address space with the address space of the arguments
// in ArgExprs.
if ((FDecl = rewriteBuiltinFunctionDecl(this, Context, FDecl, ArgExprs))) {
OpenPOWER on IntegriCloud