diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-07-13 22:26:30 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-07-13 22:26:30 +0000 |
commit | abbd6d6824eb3faee53254a5d165e6d42e3540ca (patch) | |
tree | e1e779b3dfe06feb590e163e5d3dc56441fd088a /clang/lib/Driver/Action.cpp | |
parent | 3ca8f429b1a66daffddd77fd15baf048beff363c (diff) | |
download | bcm5719-llvm-abbd6d6824eb3faee53254a5d165e6d42e3540ca.tar.gz bcm5719-llvm-abbd6d6824eb3faee53254a5d165e6d42e3540ca.zip |
This reverts commit r242058, r242065, r242067.
The tests were failing on OS X.
Revert "[cuda] Driver changes to compile and stitch together host and device-side CUDA code."
Revert "Fixed regex to properly match '64' in the test case."
Revert "clang/test/Driver/cuda-options.cu REQUIRES clang-driver, at least."
llvm-svn: 242077
Diffstat (limited to 'clang/lib/Driver/Action.cpp')
-rw-r--r-- | clang/lib/Driver/Action.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/clang/lib/Driver/Action.cpp b/clang/lib/Driver/Action.cpp index 3219dc1cc0e..360dbeecabf 100644 --- a/clang/lib/Driver/Action.cpp +++ b/clang/lib/Driver/Action.cpp @@ -24,8 +24,6 @@ const char *Action::getClassName(ActionClass AC) { switch (AC) { case InputClass: return "input"; case BindArchClass: return "bind-arch"; - case CudaDeviceClass: return "cuda-device"; - case CudaHostClass: return "cuda-host"; case PreprocessJobClass: return "preprocessor"; case PrecompileJobClass: return "precompiler"; case AnalyzeJobClass: return "analyzer"; @@ -55,25 +53,6 @@ BindArchAction::BindArchAction(std::unique_ptr<Action> Input, const char *_ArchName) : Action(BindArchClass, std::move(Input)), ArchName(_ArchName) {} -void CudaDeviceAction::anchor() {} - -CudaDeviceAction::CudaDeviceAction(std::unique_ptr<Action> Input, - const char *ArchName, bool AtTopLevel) - : Action(CudaDeviceClass, std::move(Input)), GpuArchName(ArchName), - AtTopLevel(AtTopLevel) {} - -void CudaHostAction::anchor() {} - -CudaHostAction::CudaHostAction(std::unique_ptr<Action> Input, - const ActionList &_DeviceActions) - : Action(CudaHostClass, std::move(Input)), DeviceActions(_DeviceActions) {} - -CudaHostAction::~CudaHostAction() { - for (iterator it = DeviceActions.begin(), ie = DeviceActions.end(); it != ie; - ++it) - delete *it; -} - void JobAction::anchor() {} JobAction::JobAction(ActionClass Kind, std::unique_ptr<Action> Input, |