diff options
| author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2008-12-20 09:35:34 +0000 |
|---|---|---|
| committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2008-12-20 09:35:34 +0000 |
| commit | e10c2c32af55dc7a2a52d4af9b17f8d26eef1ecb (patch) | |
| tree | 96d14d0f8a2ada752dfa5c83598c3013373a5841 /clang/lib/Sema/Sema.h | |
| parent | af7415ffb1b01b91f9abf190f32766514156db5a (diff) | |
| download | bcm5719-llvm-e10c2c32af55dc7a2a52d4af9b17f8d26eef1ecb.tar.gz bcm5719-llvm-e10c2c32af55dc7a2a52d4af9b17f8d26eef1ecb.zip | |
Implement checks for bool in increment and decrement.
llvm-svn: 61275
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 56b681c0705..9cab3308c57 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -1306,7 +1306,8 @@ public: /// type checking unary operators (subroutines of ActOnUnaryOp). /// C99 6.5.3.1, 6.5.3.2, 6.5.3.4 - QualType CheckIncrementDecrementOperand(Expr *op, SourceLocation OpLoc); + QualType CheckIncrementDecrementOperand(Expr *op, SourceLocation OpLoc, + bool isInc); QualType CheckAddressOfOperand(Expr *op, SourceLocation OpLoc); QualType CheckIndirectionOperand(Expr *op, SourceLocation OpLoc); QualType CheckRealImagOperand(Expr *&Op, SourceLocation OpLoc); |

