diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-06-22 22:06:37 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-06-22 22:06:37 +0000 |
commit | db3d31d0be935559fae6cc1b4d850a7e638a464e (patch) | |
tree | f106dc61feaa45cfa9b362a9d875edd04e0c6d30 /clang/unittests/Format/FormatTestJava.cpp | |
parent | 69533a5a85cca7c89a68f794eb0355f605131adc (diff) | |
download | llvm-db3d31d0be935559fae6cc1b4d850a7e638a464e.zip llvm-db3d31d0be935559fae6cc1b4d850a7e638a464e.tar.gz llvm-db3d31d0be935559fae6cc1b4d850a7e638a464e.tar.bz2 |
Modify ParseArgs to return the InputArgList by value - there's no need for dynamic allocation/ownership here
The one caller that does anything other than keep this variable on the
stack is the single use of DerivedArgList in Clang, which is a bit more
interesting but can probably be cleaned up/simplified a bit further
(have DerivedArgList take ownership of the InputArgList rather than
needing to reference its Args indirectly) which I'll try to after this.
llvm-svn: 240345
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions