diff options
author | Rui Ueyama <ruiu@google.com> | 2015-01-21 01:26:43 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2015-01-21 01:26:43 +0000 |
commit | e6556a9ceac2a2fab2062822a910877b4491b939 (patch) | |
tree | 0fa2652be3372feab09b8215734999b5be66ddb7 /clang/lib/Sema/SemaDecl.cpp | |
parent | e527c5810ca929c6e22a7c11efbdd5022f75e690 (diff) | |
download | bcm5719-llvm-e6556a9ceac2a2fab2062822a910877b4491b939.tar.gz bcm5719-llvm-e6556a9ceac2a2fab2062822a910877b4491b939.zip |
Fix --start-group/end-group.
We used to manage the state whether we are in a group or not
using a counter. The counter is incremented by one if we jump from
end-group to start-group, and decremented by one if we don't.
The counter was assumed to be either zero or one, but obviously it
could be negative (if there's a group which is not repeated at all).
This is a fix for that issue.
llvm-svn: 226632
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions