summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-09-07 01:47:09 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-09-07 01:47:09 +0000
commit773757a9626fb780349b9f4bdb7fcc980a65de05 (patch)
tree3ae1f267692d4c0b990fc1b8fc08713dd1c05ed0 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parente9f8113ec4c3b25f974c0f344e1292f655245d02 (diff)
downloadbcm5719-llvm-773757a9626fb780349b9f4bdb7fcc980a65de05.tar.gz
bcm5719-llvm-773757a9626fb780349b9f4bdb7fcc980a65de05.zip
Switch the CharSourceRange array to a small vector. The array was
a stack array of a magical size with an assert() that we never overflowed it. That seems incredibly risky. We also have a very nice API for bundling up a vector we expect to usually have a small size without loss of functionality or security if the size is excessive. The fallout is to remove the last pointer+size parameter pair that are traced through the recursive caret diagnostic emission. llvm-svn: 139217
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud