Skip to content

SageInterface::insertHeader

Insert #include "filename" or #include <filename> (system header) onto the global scope of a source file, add to be the last #include .. by default among existing headers, Or as the first header. Recommended for use.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
PreprocessingInfo*
insertHeader(
    SgSourceFile* source_file,
    std::string const& header_file_name,
    bool isSystemHeader,
    bool asLastHeader);

Return Value

For preprocessing information including source comments, include , if, define, etc

Created with MrDocs