SgFile::setAttribute¶
This is a wrapper function with the following semantics: if no attribute of name 's' exists then addNewAttribute(s,a); is called, otherwise updateAttribute(s,a); is called.
Synopsis¶
Declared in <src/frontend/SageIII/Cxx_Grammar.h> (not stored in Git)
virtual
void
setAttribute(
std::string s,
AstAttribute* a) override; Parameters¶
| Name | Description |
|---|---|
| a | Base class for all IR node attribute values. |
Created with MrDocs