summaryrefslogtreecommitdiffstats
path: root/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2018-07-06 21:06:21 +0000
committerVedant Kumar <vsk@apple.com>2018-07-06 21:06:21 +0000
commit71c7c43695f33b763b4a5c56b2c960dc4b28007c (patch)
treeb1216197189574b2f98094d1ea432c603f235223 /clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
parent8a3680852e41a10d96fe301b29c856fb63904eda (diff)
downloadbcm5719-llvm-71c7c43695f33b763b4a5c56b2c960dc4b28007c.tar.gz
bcm5719-llvm-71c7c43695f33b763b4a5c56b2c960dc4b28007c.zip
Fix DIExpression::ExprOperand::appendToVector
appendToVector used the wrong overload of SmallVector::append, resulting in it appending the same element to a vector `getSize()` times. This did not cause a problem when initially committed because appendToVector was only used to append 1-element operands. This changes appendToVector to use the correct overload of append(). Testing: ./unittests/IR/IRTests --gtest_filter='*DIExpressionTest*' llvm-svn: 336466
Diffstat (limited to 'clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud