Skip to content

CommandlineProcessing::clangLanguageSelectionForSuffix

Return the exact Clang driver language selected by a supported suffix.

Synopsis

Declared in <commandlineProcessing/commandline_processing.h>

[[visibility("default")]]
ClangLanguageSelection
clangLanguageSelectionForSuffix(std::string const& source);

Description

The result is explicit for every suffix-driven C, C++, CUDA, or OpenCL source accepted by REX. Unsupported or suffixless inputs are hard errors.

Return Value

the exact Clang driver language selected by a supported suffix.


Created with MrDocs