reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

tools/clang/include/clang/Driver/Job.h
  137 class FallbackCommand : public Command {
  156 class ForceSuccessCommand : public Command {

Declarations

tools/clang/include/clang/Driver/Driver.h
   41   class Command;

References

include/llvm/ADT/iterator.h
   68     : public std::iterator<IteratorCategoryT, T, DifferenceTypeT, PointerT,
  206     : public iterator_facade_base<DerivedT, IteratorCategoryT, T,
  288           pointee_iterator<WrappedIteratorT, T>, WrappedIteratorT,
  290           T> {
  296   T &operator*() const { return **this->I; }
include/llvm/Support/Casting.h
   34   using SimpleType = From; // The real type this represents...
   37   static SimpleType &getSimplifiedValue(From &Val) { return Val; }
   41   using NonConstSimpleType = typename simplify_type<From>::SimpleType;
   47   static RetType getSimplifiedValue(const From& Val) {
   66   static inline bool doit(const From &) { return true; }
   76   static inline bool doit(const From &Val) {
   77     return isa_impl<To, From>::doit(Val);
   77     return isa_impl<To, From>::doit(Val);
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  141 template <class X, class Y> LLVM_NODISCARD inline bool isa(const Y &Val) {
  142   return isa_impl_wrap<X, const Y,
  142   return isa_impl_wrap<X, const Y,
  143                        typename simplify_type<const Y>::SimpleType>::doit(Val);
  165   using ret_type = To &;       // Normal case, return Ty&
  168   using ret_type = const To &; // Normal case, return Ty&
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  228     typename cast_retty<To, FromTy>::ret_type Res2
  236       std::is_same<X, typename simplify_type<X>::SimpleType>::value;
  236       std::is_same<X, typename simplify_type<X>::SimpleType>::value;
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  258   return cast_convert_val<X, Y,
  258   return cast_convert_val<X, Y,
  259                           typename simplify_type<Y>::SimpleType>::doit(Val);
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
include/llvm/Support/type_traits.h
   55 struct add_const_past_pointer { using type = const T; };
tools/clang/examples/clang-interpreter/main.cpp
  159   if (Jobs.size() != 1 || !isa<driver::Command>(*Jobs.begin())) {
  167   const driver::Command &Cmd = cast<driver::Command>(*Jobs.begin());
  167   const driver::Command &Cmd = cast<driver::Command>(*Jobs.begin());
tools/clang/include/clang/Driver/Compilation.h
  205   void addCommand(std::unique_ptr<Command> C) { Jobs.addJob(std::move(C)); }
  279   int ExecuteCommand(const Command &C, const Command *&FailingCommand) const;
  279   int ExecuteCommand(const Command &C, const Command *&FailingCommand) const;
  287       SmallVectorImpl<std::pair<int, const Command *>> &FailingCommands) const;
tools/clang/include/clang/Driver/Driver.h
  265   void setUpResponseFiles(Compilation &C, Command &Cmd);
  423      SmallVectorImpl< std::pair<int, const Command *> > &FailingCommands);
  435       Compilation &C, const Command &FailingCommand,
tools/clang/include/clang/Driver/Job.h
   94   Command(const Command &) = default;
  137 class FallbackCommand : public Command {
  152   std::unique_ptr<Command> Fallback;
  156 class ForceSuccessCommand : public Command {
  173   using list_type = SmallVector<std::unique_ptr<Command>, 4>;
  186   void addJob(std::unique_ptr<Command> J) { Jobs.push_back(std::move(J)); }
tools/clang/lib/Driver/Compilation.cpp
  151 int Compilation::ExecuteCommand(const Command &C,
  152                                 const Command *&FailingCommand) const {
  194 using FailingCommandList = SmallVectorImpl<std::pair<int, const Command *>>;
  218 static bool InputsOk(const Command &C,
  229   for (const auto &Job : Jobs) {
  232     const Command *FailingCommand = nullptr;
tools/clang/lib/Driver/Driver.cpp
 1147     Command::printArg(OS, *I, true);
 1245     Compilation &C, const Command &FailingCommand,
 1267   Command Cmd = FailingCommand;
 1343   SmallVector<std::pair<int, const Command *>, 4> FailingCommands;
 1434 void Driver::setUpResponseFiles(Compilation &C, Command &Cmd) {
 1450     SmallVectorImpl<std::pair<int, const Command *>> &FailingCommands) {
 1462   for (auto &Job : C.getJobs())
 1476     const Command *FailingCommand = CmdPair.second;
tools/clang/lib/Driver/Job.cpp
  437   for (const auto &Job : *this)
tools/clang/lib/Driver/ToolChains/AIX.cpp
   92   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/AMDGPU.cpp
   34   C.addCommand(std::make_unique<Command>(JA, *this, Args.MakeArgString(Linker),
tools/clang/lib/Driver/ToolChains/AVR.cpp
  147   C.addCommand(std::make_unique<Command>(JA, *this, Args.MakeArgString(Linker),
tools/clang/lib/Driver/ToolChains/Ananas.cpp
   42   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
  126   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/BareMetal.cpp
  194   C.addCommand(std::make_unique<Command>(JA, *this,
tools/clang/lib/Driver/ToolChains/Clang.cpp
 3757     C.addCommand(std::make_unique<Command>(JA, *this, D.getClangProgramPath(),
 5550     C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
 6269   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
 6352   C.addCommand(std::make_unique<Command>(
 6418   C.addCommand(std::make_unique<Command>(
 6448   C.addCommand(std::make_unique<Command>(
tools/clang/lib/Driver/ToolChains/CloudABI.cpp
   95   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp
  848   C.addCommand(std::make_unique<Command>(JA, T, Exec, ExtractArgs, II));
  851   C.addCommand(std::make_unique<Command>(JA, T, Exec, StripArgs, II));
tools/clang/lib/Driver/ToolChains/CrossWindows.cpp
   60   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
  205   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  425   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
  491   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
  568   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/Darwin.cpp
  149   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
  454     C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, None));
  655   std::unique_ptr<Command> Cmd =
  656       std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs);
  680   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
  700   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
  723   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/DragonFly.cpp
   48   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
  172   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/FreeBSD.cpp
  115   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
  346   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/Fuchsia.cpp
  159   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/Gnu.cpp
  192   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
  631   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
  883   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/HIP.cpp
   83   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
  129   C.addCommand(std::make_unique<Command>(JA, *this, OptExec, OptArgs, Inputs));
  171   C.addCommand(std::make_unique<Command>(JA, *this, Llc, LlcArgs, Inputs));
  187   C.addCommand(std::make_unique<Command>(JA, *this, Lld, LldArgs, Inputs));
  221   C.addCommand(std::make_unique<Command>(JA, T, Bundler, BundlerArgs, Inputs));
tools/clang/lib/Driver/ToolChains/Hexagon.cpp
  186   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
  373   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/InterfaceStubs.cpp
   31   C.addCommand(std::make_unique<Command>(JA, *this, Args.MakeArgString(Merger),
tools/clang/lib/Driver/ToolChains/MSP430.cpp
  230   C.addCommand(std::make_unique<Command>(JA, *this, Args.MakeArgString(Linker),
tools/clang/lib/Driver/ToolChains/MSVC.cpp
  584   auto LinkCmd = std::make_unique<Command>(
  599 std::unique_ptr<Command> visualstudio::Compiler::GetCommand(
  725   return std::make_unique<Command>(JA, *this, Args.MakeArgString(Exec),
tools/clang/lib/Driver/ToolChains/MSVC.h
   54   std::unique_ptr<Command> GetCommand(Compilation &C, const JobAction &JA,
tools/clang/lib/Driver/ToolChains/MinGW.cpp
   52   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
  297   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/Minix.cpp
   39   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
   91   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/Myriad.cpp
   80   C.addCommand(std::make_unique<Command>(JA, *this, Args.MakeArgString(Exec),
  115   C.addCommand(std::make_unique<Command>(JA, *this, Args.MakeArgString(Exec),
  201   C.addCommand(std::make_unique<Command>(JA, *this, Args.MakeArgString(Exec),
tools/clang/lib/Driver/ToolChains/NaCl.cpp
  196   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/NetBSD.cpp
  106   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
  340   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/OpenBSD.cpp
   92   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
  230   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/PS4CPU.cpp
   65   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
  144   C.addCommand(std::make_unique<Command>(JA, T, Exec, CmdArgs, Inputs));
  322   C.addCommand(std::make_unique<Command>(JA, T, Exec, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/RISCVToolchain.cpp
  144   C.addCommand(std::make_unique<Command>(JA, *this, Args.MakeArgString(Linker),
tools/clang/lib/Driver/ToolChains/Solaris.cpp
   44   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
  153   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/WebAssembly.cpp
   92   C.addCommand(std::make_unique<Command>(JA, *this, Linker, CmdArgs, Inputs));
tools/clang/lib/Driver/ToolChains/XCore.cpp
   55   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
   83   C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
tools/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
   76   if (Jobs.size() == 0 || !isa<driver::Command>(*Jobs.begin()) ||
   85   const driver::Command &Cmd = cast<driver::Command>(*Jobs.begin());
   85   const driver::Command &Cmd = cast<driver::Command>(*Jobs.begin());
tools/clang/lib/Tooling/CompilationDatabase.cpp
  309   for (const auto &Cmd : Jobs) {
tools/clang/lib/Tooling/Tooling.cpp
  120   if (Jobs.size() == 0 || !isa<driver::Command>(*Jobs.begin()) ||
  131   const auto &Cmd = cast<driver::Command>(*Jobs.begin());
  131   const auto &Cmd = cast<driver::Command>(*Jobs.begin());
tools/clang/tools/driver/cc1gen_reproducer_main.cpp
  126     for (const auto &J : C->getJobs()) {
  127       if (const Command *Cmd = dyn_cast<Command>(&J)) {
  127       if (const Command *Cmd = dyn_cast<Command>(&J)) {
tools/clang/tools/driver/driver.cpp
  461     SmallVector<std::pair<int, const Command *>, 4> FailingCommands;
  471       for (const auto &J : C->getJobs())
  472         if (const Command *C = dyn_cast<Command>(&J))
  472         if (const Command *C = dyn_cast<Command>(&J))
  478       const Command *FailingCommand = P.second;
usr/include/c++/7.4.0/bits/stl_iterator_base_types.h
  123       typedef _Tp        value_type;
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  297           __safe_conversion_up<_Up, _Ep>,
  301 	operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
  811     { typedef unique_ptr<_Tp> __single_object; };
  823     inline typename _MakeUniq<_Tp>::__single_object
  825     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1633     { typedef _Tp   type; };
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>