summaryrefslogtreecommitdiffstats
path: root/clang/test/ASTMerge/std-initializer-list/test.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-06-29 10:27:18 +0000
committerPavel Labath <labath@google.com>2018-06-29 10:27:18 +0000
commit88ec2e4ee73a0fc9770f3c7c7de87415eb6bae78 (patch)
treebc97081b7e6d44321bad4b969b7a44bdca79fa5c /clang/test/ASTMerge/std-initializer-list/test.cpp
parent1f6ad1466161a33fc3918689b2f001ef561bcee4 (diff)
downloadbcm5719-llvm-88ec2e4ee73a0fc9770f3c7c7de87415eb6bae78.tar.gz
bcm5719-llvm-88ec2e4ee73a0fc9770f3c7c7de87415eb6bae78.zip
Fix use-after-free in CommandCompletions.cpp
The code was creating a StringRef to a temporary std::string. The solution is to just drop the .str() from the original StringRef. This manifested it self as the new TestCompletions test failing in some configurations. llvm-svn: 335960
Diffstat (limited to 'clang/test/ASTMerge/std-initializer-list/test.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud