Method ForwardDeclareFunction
ForwardDeclareFunction(DIScope, String, String, DIFile, UInt32, DISubroutineType, Boolean, Boolean, UInt32, DebugInfoFlags, Boolean)
Creates a new forward declaration to a function
Declaration
public DISubProgram ForwardDeclareFunction(DIScope scope, string name, string mangledName, DIFile file, uint line, DISubroutineType subroutineType, bool isLocalToUnit, bool isDefinition, uint scopeLine, DebugInfoFlags debugFlags, bool isOptimized)
Parameters
public DISubProgram ForwardDeclareFunction(DIScope scope, string name, string mangledName, DIFile file, uint line, DISubroutineType subroutineType, bool isLocalToUnit, bool isDefinition, uint scopeLine, DebugInfoFlags debugFlags, bool isOptimized)
DIScope | scope | DIScope for the declaration |
String | name | Name of the function as it appears in source |
String | mangledName | mangled name of the function (for linker) |
DIFile | file | Source file location for the function |
UInt32 | line | starting line of the declaration |
DISubroutineType | subroutineType | Signature for the function |
Boolean | isLocalToUnit | Flag to indicate if this declaration is local to the compilation unit |
Boolean | isDefinition | Flag to indicate if this is a definition |
UInt32 | scopeLine | Line of the first scope block |
DebugInfoFlags | debugFlags | DebugInfoFlags for the function |
Boolean | isOptimized | Flag to indicate if the function is optimized |
Returns
DISubProgram | Subprogram as a forward declaration |