Home | History | Annotate | Download | only in Driver

Lines Matching defs:it

143   for (arg_iterator it = Args->filtered_begin(options::OPT_UNKNOWN),
144 ie = Args->filtered_end(); it != ie; ++it) {
145 Diags.Report(diag::err_drv_unknown_argument) << (*it) ->getAsString(*Args);
327 // FIXME: We need to figure out where this behavior should live. Most of it
350 for (arg_iterator it = Args->filtered_begin(options::OPT_B),
351 ie = Args->filtered_end(); it != ie; ++it) {
352 const Arg *A = *it;
446 for (InputList::iterator it = Inputs.begin(), ie = Inputs.end(); it != ie;) {
451 if (types::getPreprocessedType(it->first) == types::TY_INVALID) {
453 } else if (!strcmp(it->second->getValue(), "-")) {
461 it = Inputs.erase(it);
464 ++it;
582 // will just work without a response file, so we silently just skip it.
618 for (SmallVectorImpl< std::pair<int, const Command *> >::iterator it =
619 FailingCommands.begin(), ie = FailingCommands.end(); it != ie; ++it) {
620 int Res = it->first;
621 const Command *FailingCommand = it->second;
636 // status was 1, assume the command failed normally. In particular, if it
637 // was the compiler then assume it gave a reasonable error code. Failures
678 // Don't print if the ToolChain would have barfed on it already
745 for (ToolChain::path_list::const_iterator it = TC.getProgramPaths().begin(),
746 ie = TC.getProgramPaths().end(); it != ie; ++it) {
747 if (it != TC.getProgramPaths().begin())
749 llvm::outs() << *it;
756 for (ToolChain::path_list::const_iterator it = TC.getFilePaths().begin(),
757 ie = TC.getFilePaths().end(); it != ie; ++it) {
759 const char *path = it->c_str();
814 // nothing because it's not supported yet.
837 for (Action::iterator it = A->begin(), ie = A->end(); it != ie;) {
838 os << PrintActions1(C, *it, Ids);
839 ++it;
840 if (it != ie)
856 for (ActionList::const_iterator it = C.getActions().begin(),
857 ie = C.getActions().end(); it != ie; ++it)
858 PrintActions1(C, *it, Ids);
869 for (Action::const_iterator it = A->begin(), ie = A->end(); it != ie; ++it)
870 if (ContainsCompileOrAssembleAction(*it))
916 // Make sure we can lipo this kind of output. If not (and it is an actual
918 // right name without overwriting it. We could remove this oddity by just
934 // Lipo if necessary, we do it this way because we need to set the arch flag
969 /// \brief Check that the file referenced by Value exists. If it doesn't,
1004 // actually use it, so we warn about unused -x arguments.
1015 arg_iterator it = Args.filtered_begin(options::OPT__SLASH_TC,
1018 Arg *Previous = *it++;
1020 while (it != ie) {
1022 << Previous->getSpelling() << (*it)->getSpelling();
1023 Previous = *it++;
1040 // If there was an explicit arg for this, claim it.
1070 // If the driver is invoked as C++ compiler (like clang++ or c++) it
1200 // It has to have a value.
1218 // this compilation, warn the user about it.
1398 // It is an error to provide a -o option if we are making multiple output
1452 // Claim --driver-mode, it was handled earlier.
1456 // FIXME: It would be nice to be able to send the argument to the
1463 // Suppress the warning automatically if this is just a flag, and it is an
1469 for (arg_iterator it = C.getArgs().filtered_begin(&Opt),
1470 ie = C.getArgs().filtered_end(); it != ie; ++it) {
1471 if ((*it)->isClaimed()) {
1563 // FIXME: It would be nice to not claim this here; maybe the old scheme of
1665 // If the argument didn't provide an extension, then set it.
1785 // the unoptimized bitcode so that it does not get overwritten by the ".bc"
1841 for (Driver::prefix_list::const_iterator it = PrefixDirs.begin(),
1842 ie = PrefixDirs.end(); it != ie; ++it) {
1843 std::string Dir(*it);
1861 it = List.begin(), ie = List.end(); it != ie; ++it) {
1862 std::string Dir(*it);