SPIRV-Tools/utils
Lei Zhang 16981f87fe Avoid using global static variables
Previously we have several grammar tables defined as global static
variables and these grammar table entries contains non-POD struct
fields (CapabilitySet/ExtensionSet). The initialization of these
non-POD struct fields may require calling operator new. If used
as a library and the caller defines its own operator new, things
can screw up.

This pull request changes all global static variables into
function static variables, which is lazy evaluated in a thread
safe way as guaranteed by C++11.
2017-09-26 10:59:15 -04:00
..
check_copyright.py Adding decoration class and tests. 2017-01-16 16:52:08 -05:00
generate_grammar_tables.py Avoid using global static variables 2017-09-26 10:59:15 -04:00
generate_registry_tables.py Get vendor tool info from the SPIR-V registry file 2016-12-09 14:01:43 -05:00
generate_vim_syntax.py Generate spvasm.vim 2016-12-20 11:36:41 -05:00
update_build_version.py Do nothing if trying to make the current dir 2017-03-20 11:23:35 -04:00