MCPcopy Create free account
hub / github.com/argotorg/solidity / needsHumanTargetedStdout

Function needsHumanTargetedStdout

solc/CommandLineInterface.cpp:141–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139static std::string const g_strVersion = "version";
140
141static bool needsHumanTargetedStdout(CommandLineOptions const& _options)
142{
143 if (_options.compiler.estimateGas)
144 return true;
145 if (!_options.output.dir.empty())
146 return false;
147 return
148 _options.compiler.outputs.abi ||
149 _options.compiler.outputs.asm_ ||
150 _options.compiler.outputs.asmJson ||
151 _options.compiler.outputs.yulCFGJson ||
152 _options.compiler.outputs.binary ||
153 _options.compiler.outputs.binaryRuntime ||
154 _options.compiler.outputs.ethdebugResources ||
155 _options.compiler.outputs.ethdebugCompilation ||
156 _options.compiler.outputs.ethdebugProgram ||
157 _options.compiler.outputs.ethdebugProgramRuntime ||
158 _options.compiler.outputs.metadata ||
159 _options.compiler.outputs.natspecUser ||
160 _options.compiler.outputs.natspecDev ||
161 _options.compiler.outputs.opcodes ||
162 _options.compiler.outputs.signatureHashes ||
163 _options.compiler.outputs.storageLayout ||
164 _options.compiler.outputs.transientStorageLayout;
165}
166
167static bool coloredOutput(CommandLineOptions const& _options)
168{

Callers 1

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected