MCPcopy Create free account
hub / github.com/chipsalliance/Surelog / errorOnNegativeConstant

Method errorOnNegativeConstant

src/DesignCompile/CompileExpression.cpp:3596–3604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3594}
3595
3596bool CompileHelper::errorOnNegativeConstant(DesignComponent *component,
3597 Value *value,
3598 CompileDesign *compileDesign,
3599 ValuedComponentI *instance) {
3600 if (value == nullptr) return false;
3601 const std::string &val = value->uhdmValue();
3602 return errorOnNegativeConstant(component, val, compileDesign, instance,
3603 BadPathId, 0, 0);
3604}
3605
3606bool CompileHelper::errorOnNegativeConstant(DesignComponent *component,
3607 expr *exp,

Callers 2

collectParams_Method · 0.80
elab_parameters_Method · 0.80

Calls 15

StrAppendFunction · 0.85
decompileFunction · 0.85
uhdmValueMethod · 0.80
toPathIdMethod · 0.80
getFullPathNameMethod · 0.80
readLineMethod · 0.80
getModuleNameMethod · 0.80
toPathMethod · 0.80
param_assignsMethod · 0.80
getSymbolTableMethod · 0.45
getCompilerMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected