AstAttributeMechanism::exists
Test for attribute existence.
Synopsis
Declared in <src/midend/astProcessing/AstAttributeMechanism.h>
bool
exists(std::string const& name) const;
Description
Test whether this container holds an attribute with the specified name. This predicate returns true only if the name exists and points to a non‐null attribute value. The name need not be declared in the attribute system.
New semantics: It is now permissible to invoke this method on a const attribute container and this method no longer copies the name argument.
Created with MrDocs