Skip to content

SageInterface::findHeader

Find the preprocessingInfo node representing #include <header.h> or #include "header.h" within a source file. Return NULL if not found.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

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

Return Value

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

Created with MrDocs