public class CxxToolTypeInferer extends Object
CxxToolProvider.Type
of a cxx tool.Constructor and Description |
---|
CxxToolTypeInferer() |
Modifier and Type | Method and Description |
---|---|
static CxxToolProvider.Type |
getTypeFromPath(PathSourcePath path)
Invokes the tool with `--version` and parses the output to determine the type of the compiler.
|
protected static CxxToolProvider.Type |
getTypeFromVersionOutput(Iterable<String> lines)
Checks if the output looks like `clang --version`'s output.
|
public static CxxToolProvider.Type getTypeFromPath(PathSourcePath path)
protected static CxxToolProvider.Type getTypeFromVersionOutput(Iterable<String> lines)