SgNodeHelper::abbreviatedLocationToString
returns location (consisting of filename, line, column) Abbreviates fileName if too long, max file name length can be set
Synopsis
Declared in <src/midend/abstractLayer/SgNodeHelper.h>
std::string
abbreviatedLocationToString(
SgNode* node,
size_t maxFileNameLength = 30);
Parameters
Name |
Description |
node |
This class represents the base class for all IR nodes within Sage III. |
Created with MrDocs