-
Notifications
You must be signed in to change notification settings - Fork 692
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NFC] Remove SAL annotations from internal APIs (#5639)
We don't keep these annotations up to date or rely on them, so to simplify our platform layering and ease code formatting this change removes all the SAL annotations from internal APIs. This change also replaces most `_Analysis_Assme_(...)` annotations with `assert(...)`. One `_Analysis_Assume_` in ParseDecl.cpp needed to be updated because it was incorrect. The code was `_Analysis_Assume_(assert(name.size() > sizeof("space"));`. When converted to an `assert` it fired in our test suite because the sizeof a string literal includes the null terminator, but the size of a StringRef does not. A few of the `_Analysis_Assume_` annotations were removed because they didn't make sense (like the ones inside the `DXASSERT` implementation, and a few others were removed to avoid introducing additional header or linkage dependencies. This change does not introduce any functional or behavioral changes.
- Loading branch information
1 parent
d2882d8
commit 3266a87
Showing
170 changed files
with
3,714 additions
and
4,522 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
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
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
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
Oops, something went wrong.