> - std::string P(llvm::sys::FindProgramByName(TargetSpecificExecutable)); > - if (!P.empty()) > - return P; > + auto P = llvm::sys::findProgramByName(TargetSpecificExecutable); > + if (P) > + return *P; > }
It is probably better to write out the type. Cheers, Rafael _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
