diff options
author | Hans Wennborg <hans@hanshq.net> | 2014-09-18 18:59:50 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2014-09-18 18:59:50 +0000 |
commit | dfd8c74a988991fa1e69aa61c42a8ff29f8151be (patch) | |
tree | b747be0a555840e5cee8a56f6b15e262880f008e /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | |
parent | 9767d2f8da212193cddda15e639a118096f6fe76 (diff) | |
download | llvm-dfd8c74a988991fa1e69aa61c42a8ff29f8151be.zip llvm-dfd8c74a988991fa1e69aa61c42a8ff29f8151be.tar.gz llvm-dfd8c74a988991fa1e69aa61c42a8ff29f8151be.tar.bz2 |
[clang-tidy] Don't leak the TodoCommentHandler object
Preprocessor:addCommentHandler() does not take ownership,
so we'd end up leaking the TodoCommentHandler.
This patch makes it owned by the Check object.
Differential Revision: http://reviews.llvm.org/D5402
llvm-svn: 218068
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
0 files changed, 0 insertions, 0 deletions