3266a87f9a
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
MSFileSystemImpl.cpp |