summaryrefslogtreecommitdiffstats
path: root/clang/include
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-05-02 22:55:30 +0000
committerHans Wennborg <hans@hanshq.net>2014-05-02 22:55:30 +0000
commit55362851a90b381f03db94e01049ab8b61619f1e (patch)
treee68e958305bd1328dc1ea868a9cfe623907ed4b4 /clang/include
parentfb4e3f2f4e8c15425a1d23aadc1149d0531662f6 (diff)
downloadbcm5719-llvm-55362851a90b381f03db94e01049ab8b61619f1e.tar.gz
bcm5719-llvm-55362851a90b381f03db94e01049ab8b61619f1e.zip
Fix clang-cl Driver leak
We were synthesizing new arguments from e.g. '/Tcfile.c' arguments, but didn't handle ownership correctly. llvm-svn: 207880
Diffstat (limited to 'clang/include')
-rw-r--r--clang/include/clang/Driver/Driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Driver/Driver.h b/clang/include/clang/Driver/Driver.h
index 044872591f5..960e5c019af 100644
--- a/clang/include/clang/Driver/Driver.h
+++ b/clang/include/clang/Driver/Driver.h
@@ -259,7 +259,7 @@ public:
/// \param Args - The input arguments.
/// \param Inputs - The list to store the resulting compilation
/// inputs onto.
- void BuildInputs(const ToolChain &TC, const llvm::opt::DerivedArgList &Args,
+ void BuildInputs(const ToolChain &TC, llvm::opt::DerivedArgList &Args,
InputList &Inputs) const;
/// BuildActions - Construct the list of actions to perform for the
OpenPOWER on IntegriCloud