diff options
author | Francisco Jerez <[email protected]> | 2013-10-06 13:51:01 -0700 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2013-10-21 10:47:02 -0700 |
commit | bff60c894a290260ab3dd2086445b44622a2800e (patch) | |
tree | b0f8559fcac8acc38f98313d3de77019ea0359af /src/gallium/state_trackers/clover/llvm/invocation.cpp | |
parent | d8b499428183178885bb182c898ee6f52e92ef03 (diff) |
clover: Define helper classes for the new object model.
Tested-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/clover/llvm/invocation.cpp')
-rw-r--r-- | src/gallium/state_trackers/clover/llvm/invocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp index f14222b44e4..4ae496ffb21 100644 --- a/src/gallium/state_trackers/clover/llvm/invocation.cpp +++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp @@ -157,7 +157,7 @@ namespace { opts_carray.data() + opts_carray.size(), Diags); if (!Success) { - throw invalid_option_error(); + throw error(CL_INVALID_BUILD_OPTIONS); } c.getFrontendOpts().ProgramAction = clang::frontend::EmitLLVMOnly; c.getHeaderSearchOpts().UseBuiltinIncludes = true; |