Skip to main content

extract_args

Function extract_args 

Source
fn extract_args(entry: &CompileCommandEntry) -> Vec<String>
Expand description

Extract compiler arguments from a compilation database entry.

Prefers the arguments field if present; otherwise splits command on whitespace. Returns an empty vector if neither field is set.