diff options
author | Jason Molenda <jmolenda@apple.com> | 2019-02-08 23:36:25 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2019-02-08 23:36:25 +0000 |
commit | 3b68761dc3e0bd9111fe283a56b564c761ca3729 (patch) | |
tree | 76e0aa8697c9fcbd6dd92fd508ccc999d580703b /clang/test/Analysis/cstring-syntax.c | |
parent | 1386d99c777f3ac2443f815df5f6ec353afe3e9b (diff) | |
download | bcm5719-llvm-3b68761dc3e0bd9111fe283a56b564c761ca3729.tar.gz bcm5719-llvm-3b68761dc3e0bd9111fe283a56b564c761ca3729.zip |
Tiny fix spotted by static analyzer; GetPath() returns a std::string,
we get a pointer to the c-string rep and then the temporary object
is destructed and we still refer to the c-string after that.
llvm-svn: 353581
Diffstat (limited to 'clang/test/Analysis/cstring-syntax.c')
0 files changed, 0 insertions, 0 deletions