Skip to content

SageInterface::collectDirectIncludeSystemRoles

Return the exact system/application role of every direct textual include in a source file, keyed by its source spelling. A lazily absent graph root is accepted only when the exact primary preprocessing stream proves that the source has no includes. Conflicting or incomplete include‐graph ownership is a frontend invariant violation.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
std::map<std::string, bool>
collectDirectIncludeSystemRoles(SgSourceFile* file);

Created with MrDocs