Add script to verify proper Memset template use
Since there does not seem to be any elegant way of
checking whether a class is the first base class in
c++ (given that the 2009 c++ proposal n2965 was
rejected), this python script does it by scanning
all source files for illegal patterns.
The python file was implemented in a way to enable
easy addition of further checks, should need arise.
Bug: b/152253831
Change-Id: I25701a3302579700ccb6222141843d27f38d9069
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/49788
Kokoro-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
Tested-by:
Jari Komppa <jari@siru.fi>
Showing
tests/scan_sources/main.py
0 → 100644
Please
register
or
sign in
to comment