summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-01-21 01:26:43 +0000
committerRui Ueyama <ruiu@google.com>2015-01-21 01:26:43 +0000
commite6556a9ceac2a2fab2062822a910877b4491b939 (patch)
tree0fa2652be3372feab09b8215734999b5be66ddb7 /clang/lib/Sema/SemaDecl.cpp
parente527c5810ca929c6e22a7c11efbdd5022f75e690 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud