[PATCH] D30991: [Driver] Fix cross compiling with Visual Studio 2017
Hamza Sood via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 16 14:04:59 PDT 2017
hamzasood updated this revision to Diff 92050.
hamzasood added a comment.
@zturner: "it's just a vector of pointers"
Oh...... I was so focussed on reducing copies that I completely forgot it's just an array of pointers being copied, not the entire environment block contents. In that case, yeah. It's a dumb optimisation.
- setEnvironment is now just one function that accepts an ArrayRef.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8484 bytes
Desc: not available
More information about the cfe-commits