Skip to content

CommandlineProcessing::clangLanguageSelectionForSource

Return the ordered -x state active at one exact source operand.

Synopsis

Declared in <commandlineProcessing/commandline_processing.h>

[[visibility("default")]]
ClangLanguageSelection
clangLanguageSelectionForSource(
    std::vector<std::string> const& argv,
    std::string const& source);

Description

The source must occur exactly once as a positional driver input. Option operands with the same spelling do not count as source occurrences.

Return Value

the ordered -x state active at one exact source operand.

Parameters

Name Description
argv A standard container which offers fixed time access to individual elements in any order.

Created with MrDocs