FBlueprintEditorUtils::SetVariableDeprecatedFlag

Sets the Deprecated flag on the variable with the specified name