SageBuilder::function_declaration_ownership::sourceLexicalRedeclarationIn
Publish a distinct source declaration in its exact lexical owner while joining an already published canonical function family. The target remains the canonical declaration and its one direct symbol is reused; no name/type lookup is permitted to select another overload family.
Synopsis
Declared in <SageIII/sageInterface/sageBuilder.h>
static
function_declaration_ownership
sourceLexicalRedeclarationIn(
SgScopeStatement* lexicalOwner,
SgFunctionDeclaration* target);
Return Value
Exact, typed structural ownership established by function‐declaration builders. Invalid kind/owner combinations cannot be constructed.
Parameters
Name |
Description |
lexicalOwner |
This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.). |
target |
This class represents the concept of a function declaration statement. |
Created with MrDocs