aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/SourceManagerTest.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-06-22 22:06:37 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-06-22 22:06:37 +0000
commitdb3d31d0be935559fae6cc1b4d850a7e638a464e (patch)
treef106dc61feaa45cfa9b362a9d875edd04e0c6d30 /clang/unittests/Basic/SourceManagerTest.cpp
parent69533a5a85cca7c89a68f794eb0355f605131adc (diff)
downloadllvm-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/Basic/SourceManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions