public class ClangCompiler extends DefaultCompiler
Constructor and Description |
---|
ClangCompiler(Tool tool,
ToolType toolType,
boolean useDependencyTree) |
ClangCompiler(Tool tool,
ToolType toolType,
boolean useDependencyTree,
boolean useUnixPathSeparator) |
Modifier and Type | Method and Description |
---|---|
DependencyTrackingMode |
getDependencyTrackingMode() |
Optional<com.google.common.collect.ImmutableList<String>> |
getFlagsForColorDiagnostics() |
com.google.common.collect.ImmutableList<String> |
getFlagsForReproducibleBuild(String altCompilationDir,
Path currentCellPath) |
boolean |
isArgFileSupported() |
com.google.common.collect.ImmutableList<String> |
outputDependenciesArgs(String outputPath) |
getPdcFlags, getPicFlags, getPreArgfileArgs, getStderr, getUseUnixPathSeparator, languageArgs, needsToRemoveCompiledFilenamesFromOutput, outputArgs, shouldSanitizeOutputBinary
getCommandPrefix, getEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCommandPrefix, getEnvironment
public DependencyTrackingMode getDependencyTrackingMode()
getDependencyTrackingMode
in interface Compiler
getDependencyTrackingMode
in class DefaultCompiler
public com.google.common.collect.ImmutableList<String> outputDependenciesArgs(String outputPath)
outputDependenciesArgs
in interface Compiler
outputDependenciesArgs
in class DefaultCompiler
public com.google.common.collect.ImmutableList<String> getFlagsForReproducibleBuild(String altCompilationDir, Path currentCellPath)
getFlagsForReproducibleBuild
in interface Compiler
getFlagsForReproducibleBuild
in class DefaultCompiler
public Optional<com.google.common.collect.ImmutableList<String>> getFlagsForColorDiagnostics()
getFlagsForColorDiagnostics
in interface Compiler
getFlagsForColorDiagnostics
in class DefaultCompiler
public boolean isArgFileSupported()
isArgFileSupported
in interface Compiler
isArgFileSupported
in class DefaultCompiler