[PATCH] D39342: [Bash-autocompletion] Pass all flags in shell command-line to Clang
Vassil Vassilev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 27 12:30:52 PDT 2017
v.g.vassilev added inline comments.
================
Comment at: clang/lib/Driver/Driver.cpp:1171
+ StringRef TargetFlag = PassedFlags;
+ for (; TargetFlag.find(':') != StringRef::npos;) {
+ StringRef CurFlag;
----------------
Why not a `while` loop?
https://reviews.llvm.org/D39342
More information about the cfe-commits
mailing list