craig.topper added inline comments.
================
Comment at: lib/Driver/ToolChains/Gnu.cpp:2176
for (StringRef Line : Lines) {
+ StringRef TrimLine = Line.trim();
// CURRENT=triple-version
----------------
Can we just do
Line = Line.trim()
so we won't have an extra StringRef and no one can misuse the untrimmed on in
the future.
https://reviews.llvm.org/D31996
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits