Skip to content

SageBuilder::buildHeader

Build a dangling #include "x.h" header, insertHeader() is needed to actually insert it

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
PreprocessingInfo*
buildHeader(
    std::string const& header_filename,
    PreprocessingInfo::RelativePositionType position = PreprocessingInfo::before,
    bool isSystemHeader = false);

Return Value

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

Parameters

Name

Description

position

MK: Enum type to store if the directive goes before or after the corresponding line of source code

Created with MrDocs