diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-02-09 21:07:24 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-02-09 21:07:24 +0000 |
commit | 41f85462336ce32fad0bfd14a1c061dbe15a107b (patch) | |
tree | 083924e25dc84757ce0330c0d1e0df4f51be849b /clang/lib/Sema/SemaOverload.cpp | |
parent | 9e2c81f00a0a2d62c7d9ef012da4fe2079224276 (diff) | |
download | bcm5719-llvm-41f85462336ce32fad0bfd14a1c061dbe15a107b.tar.gz bcm5719-llvm-41f85462336ce32fad0bfd14a1c061dbe15a107b.zip |
AST, Sema, Serialization: add CUDAKernelCallExpr and related semantic actions
llvm-svn: 125217
Diffstat (limited to 'clang/lib/Sema/SemaOverload.cpp')
-rw-r--r-- | clang/lib/Sema/SemaOverload.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/clang/lib/Sema/SemaOverload.cpp b/clang/lib/Sema/SemaOverload.cpp index 916c5a198fa..42e24116bfe 100644 --- a/clang/lib/Sema/SemaOverload.cpp +++ b/clang/lib/Sema/SemaOverload.cpp @@ -7426,7 +7426,8 @@ ExprResult Sema::BuildOverloadedCallExpr(Scope *S, Expr *Fn, UnresolvedLookupExpr *ULE, SourceLocation LParenLoc, Expr **Args, unsigned NumArgs, - SourceLocation RParenLoc) { + SourceLocation RParenLoc, + Expr *ExecConfig) { #ifndef NDEBUG if (ULE->requiresADL()) { // To do ADL, we must have found an unqualified name. @@ -7466,8 +7467,8 @@ Sema::BuildOverloadedCallExpr(Scope *S, Expr *Fn, UnresolvedLookupExpr *ULE, DiagnoseUseOfDecl(FDecl? FDecl : Best->FoundDecl.getDecl(), ULE->getNameLoc()); Fn = FixOverloadedFunctionReference(Fn, Best->FoundDecl, FDecl); - return BuildResolvedCallExpr(Fn, FDecl, LParenLoc, Args, NumArgs, - RParenLoc); + return BuildResolvedCallExpr(Fn, FDecl, LParenLoc, Args, NumArgs, RParenLoc, + ExecConfig); } case OR_No_Viable_Function: |