diff options
Diffstat (limited to 'clang/include/clang/Driver/Action.h')
| -rw-r--r-- | clang/include/clang/Driver/Action.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/include/clang/Driver/Action.h b/clang/include/clang/Driver/Action.h index f6d4ad579c5..077f1a9efb2 100644 --- a/clang/include/clang/Driver/Action.h +++ b/clang/include/clang/Driver/Action.h @@ -160,14 +160,16 @@ public: class CudaHostAction : public Action { virtual void anchor(); ActionList DeviceActions; + const char *DeviceTriple; public: - CudaHostAction(std::unique_ptr<Action> Input, - const ActionList &DeviceActions); + CudaHostAction(std::unique_ptr<Action> Input, const ActionList &DeviceActions, + const char *DeviceTriple); ~CudaHostAction() override; ActionList &getDeviceActions() { return DeviceActions; } const ActionList &getDeviceActions() const { return DeviceActions; } + const char *getDeviceTriple() const { return DeviceTriple; } static bool classof(const Action *A) { return A->getKind() == CudaHostClass; } }; |

