summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-25 02:11:20 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-25 02:11:20 +0000
commit885a0c494d2ba8776f43c7b0585cd629c8000286 (patch)
tree0ec0d4aad3e2a6cd2636b0be5b5df38a7a493891 /llvm
parentad3ab2ae61a105fb33454bf503032447a2e96e4f (diff)
downloadbcm5719-llvm-885a0c494d2ba8776f43c7b0585cd629c8000286.tar.gz
bcm5719-llvm-885a0c494d2ba8776f43c7b0585cd629c8000286.zip
Avoid recursions when the parser finds out that it has too many brackets.
BalancedDelimiterTracker::diagnoseOverflow calls P.SkipUntil, and before this patch P.SkipUnti is recursive, causing problems on systems with small stacks. This patch fixes it by making P.SkipUnti non recursive when just looking for eof. llvm-svn: 187097
Diffstat (limited to 'llvm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud