-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch for the failure of functions with void return type and with ret…
…urn statement Prior to this patch, clad would throw an assertion error when attempting to differentiate void functions that contain a return statement. The assertion error would indicate that there was an attempt to differentiate a nullptr. This Patch checks if the there is an expression associsted with the null pointer and only if there is one, we differentiate it. Added tests for the same This patch fixes #432
- Loading branch information
1 parent
85de6e4
commit 5505764
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters