VariableRenaming::isPrefixOfName¶
Check whether the given name begins with the given prefix.
Synopsis¶
Declared in <src/midend/programAnalysis/variableRenaming/VariableRenaming.h>
static
bool
isPrefixOfName(
VarName const& name,
VarName const& prefix); Description¶
ex. a.b.c has prefix a.b, but not a.c
Return Value¶
Whether the name begins with the prefix.
Parameters¶
| Name | Description |
|---|---|
| name | The name to check. |
| prefix | The required prefix. |
Created with MrDocs