commit | 54de9bb0e67a3c06f6daad27af74e87f84944fa3 | [log] [tgz] |
---|---|---|
author | Enea Zaffanella <zaffanella@cs.unipr.it> | Thu Nov 07 08:14:26 2013 +0000 |
committer | Enea Zaffanella <zaffanella@cs.unipr.it> | Thu Nov 07 08:14:26 2013 +0000 |
tree | ae37e12df2ae4a43e940d9dbe5bda8fbe7863f35 | |
parent | 7dae929f7049afd17e373fcf03abe9d1a381b01d [diff] [blame] |
Fixed bug in return type of __builtin_va_start(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194197 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaChecking.cpp b/lib/Sema/SemaChecking.cpp index b1da24b..5fe2d03 100644 --- a/lib/Sema/SemaChecking.cpp +++ b/lib/Sema/SemaChecking.cpp
@@ -1651,6 +1651,7 @@ Diag(ParamLoc, diag::note_parameter_type) << Type; } + TheCall->setType(Context.VoidTy); return false; }