diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-05-16 04:01:30 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-05-16 04:01:30 +0000 |
| commit | bb53efb016d205d0aeed9cef69c2db51b3f351fc (patch) | |
| tree | 851d0eb4c2e35b5add85702947a64d83effd40e1 /clang/lib/Sema/Sema.h | |
| parent | 298e6b82eb3037c39fc75d082b87d7bca73743cf (diff) | |
| download | bcm5719-llvm-bb53efb016d205d0aeed9cef69c2db51b3f351fc.tar.gz bcm5719-llvm-bb53efb016d205d0aeed9cef69c2db51b3f351fc.zip | |
fix rdar://7985267 - Don't emit an error about a non-pod argument
passed to va_start, it doesn't actually pass it.
llvm-svn: 103899
Diffstat (limited to 'clang/lib/Sema/Sema.h')
| -rw-r--r-- | clang/lib/Sema/Sema.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index 3e143bb3b00..a7d242c559b 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -4093,7 +4093,8 @@ public: // DefaultVariadicArgumentPromotion - Like DefaultArgumentPromotion, but // will warn if the resulting type is not a POD type. - bool DefaultVariadicArgumentPromotion(Expr *&Expr, VariadicCallType CT); + bool DefaultVariadicArgumentPromotion(Expr *&Expr, VariadicCallType CT, + FunctionDecl *FDecl); // UsualArithmeticConversions - performs the UsualUnaryConversions on it's // operands and then handles various conversions that are common to binary |

