Skip to main content

preprocess

Function preprocess 

Source
pub fn preprocess(source: Vec<u8>, path: &Path, results: &mut PreprocResults)
Expand description

Extracts preprocessor data from a C/C++ source buffer and inserts it into a PreprocResults object.

Builds the preprocessor parse internally, so callers supply the raw source and need not name the parser type. path keys the per-file results.