summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/cstring-syntax.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2019-02-08 23:36:25 +0000
committerJason Molenda <jmolenda@apple.com>2019-02-08 23:36:25 +0000
commit3b68761dc3e0bd9111fe283a56b564c761ca3729 (patch)
tree76e0aa8697c9fcbd6dd92fd508ccc999d580703b /clang/test/Analysis/cstring-syntax.c
parent1386d99c777f3ac2443f815df5f6ec353afe3e9b (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud