-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nullability] Fix false positives for functions with forward declarat…
…ions. Since [this patch](b4120db), we erroneously used the `ParmVarDecl`s of the forward declaration when creating initial values for the parameters; the body uses the `ParmVarDecl`s of the definition, so it would not see these initial values. PiperOrigin-RevId: 598560058 Change-Id: I28c0659e431a7bdf9154969bd3709fb466b7c76d
- Loading branch information
1 parent
c8c5185
commit 4b01ed0
Showing
2 changed files
with
19 additions
and
1 deletion.
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