summaryrefslogtreecommitdiffstats
path: root/docs/envvars.html
diff options
context:
space:
mode:
authorVedran Miletić <[email protected]>2016-09-28 17:11:43 +0200
committerFrancisco Jerez <[email protected]>2016-10-30 12:14:59 -0700
commite3272865c216933168e6c08766d266a33d0e1497 (patch)
treee985ca5c03785c57557fcd7f08f2029ccf04c76a /docs/envvars.html
parent2a4a86862c949055c71637429f6d5f2e725d07d8 (diff)
clover: Pass unquoted compiler arguments to Clang
OpenCL apps can quote arguments they pass to the OpenCL compiler, most commonly include paths containing spaces. If the Clang OpenCL compiler was called via a shell, the shell would split the arguments with respect to to quotes and then remove quotes before passing the arguments to the compiler. Since we call Clang as a library, we have to split the argument with respect to quotes and then remove quotes before passing the arguments. v2: move to tokenize(), remove throwing of CL_INVALID_COMPILER_OPTIONS v3: simplify parsing logic, use more C++11 v4: restore error throwing, clarify a comment Signed-off-by: Vedran Miletić <[email protected]> Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'docs/envvars.html')
0 files changed, 0 insertions, 0 deletions