Patch for CPP bool increment/decrement

Hi everyone-

Here is a patch for ++ and – for bools. It warns when one increments a bool and errors when one decrements.

Regards,

Chris

CPP_5-2-6_5-3-2_bool.patch (12.7 KB)

http://llvm.org/viewvc/llvm-project?view=rev&revision=61275

-Eli

Ah man!

Well, I guess the good news for me is seeing how a patch should be sent in.

Chris

Chris Goller wrote:

Well, I guess the good news for me is seeing how a patch should be sent in.

Actually, you did i the right way, for a first-time contributer.

In the future, take care that your patches don't change the existing code formatting as much as yours did. For example, it is an (informal, I think, but still pervasive) style convention that multi-line arguments are column-aligned, but your patch brings several arguments out of this alignment.

Sebastian