DirectXShaderCompiler/lib/ExecutionEngine
Chris B 3266a87f9a
[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.
2023-09-14 08:59:49 -05:00
..
IntelJITEvents Clean up mistakes made when fixing copyright banners. 2017-01-25 14:36:50 -08:00
Interpreter [NFC] Remove SAL annotations from internal APIs (#5639) 2023-09-14 08:59:49 -05:00
MCJIT Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
OProfileJIT Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
Orc Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
RuntimeDyld Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
CMakeLists.txt Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
ExecutionEngine.cpp Rename 'module' to 'hModule' for C++20 compat (#2667) 2020-03-01 18:12:31 -08:00
ExecutionEngineBindings.cpp Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
GDBRegistrationListener.cpp Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
LLVMBuild.txt Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
SectionMemoryManager.cpp Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
TargetSelect.cpp Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00