diff options
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaChecking.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp index b1da24b1f9b..5fe2d03d1d1 100644 --- a/clang/lib/Sema/SemaChecking.cpp +++ b/clang/lib/Sema/SemaChecking.cpp @@ -1651,6 +1651,7 @@ bool Sema::SemaBuiltinVAStart(CallExpr *TheCall) { Diag(ParamLoc, diag::note_parameter_type) << Type; } + TheCall->setType(Context.VoidTy); return false; } |

