]> granicus.if.org Git - clang/commit
Fix clang-cl Driver leak
authorHans Wennborg <hans@hanshq.net>
Fri, 2 May 2014 22:55:30 +0000 (22:55 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 2 May 2014 22:55:30 +0000 (22:55 +0000)
commitc0c0ad648202f40b99e826d2c116cc1b307a6d13
tree294a285c97bf63ad440a52528d165127546807cf
parent3d3d978b771b45c003b58cfea01c6be362d0b6a6
Fix clang-cl Driver leak

We were synthesizing new arguments from e.g. '/Tcfile.c' arguments,
but didn't handle ownership correctly.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207880 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Driver.h
lib/Driver/Driver.cpp