[PATCH] D136090: Handle errors in expansion of response files
Michał Górny via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 21 07:48:46 PDT 2022
mgorny added inline comments.
================
Comment at: llvm/lib/Support/CommandLine.cpp:1205
+ if (ArgStr[0] == '@') {
+ FileName = ArgStr.drop_front(1);
+ if (!llvm::sys::path::is_relative(FileName))
----------------
Also, I think you can use `consume_front()` here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136090/new/
https://reviews.llvm.org/D136090
More information about the cfe-commits
mailing list