SPIRV-Tools/test
David Neto cac38f92dd Simplify uses of spvBinaryDestroy in tests
Always try to destroy the binary during common methods
of test fixtures.  This is safe if no other code in the test
attempted to destroy the binary.

Take advantage of the fact spvBinaryDestroy is a no-op on a nullptr,
by eliminating the null pointer check in the caller.
2015-10-26 12:54:39 -04:00
..
BinaryDestroy.cpp Fix spvBinaryDestroy test to use an API-created object 2015-10-26 12:54:39 -04:00
BinaryEndianness.cpp Put test classes in anonymous namespace. 2015-10-26 12:52:01 -04:00
BinaryHeaderGet.cpp Put test classes in anonymous namespace. 2015-10-26 12:52:01 -04:00
BinaryToText.cpp Use opcode operand definitions from SPIR-V specification generator. 2015-10-26 12:52:01 -04:00
Comment.cpp Simplify uses of spvBinaryDestroy in tests 2015-10-26 12:54:39 -04:00
DiagnosticPrint.cpp Print diagnostics at the beginning of input. 2015-10-26 12:52:01 -04:00
ExtInstGLSLstd450.cpp Don't overload operators in std namespace. 2015-10-26 12:52:01 -04:00
FixWord.cpp Put test classes in anonymous namespace. 2015-10-26 12:52:01 -04:00
ImmediateInt.cpp Simplify uses of spvBinaryDestroy in tests 2015-10-26 12:54:39 -04:00
LibspirvMacros.cpp Put test classes in anonymous namespace. 2015-10-26 12:52:01 -04:00
main.cpp Code drop of the Codeplay spirv-tools source. 2015-05-22 18:26:19 +01:00
NamedId.cpp Simplify uses of spvBinaryDestroy in tests 2015-10-26 12:54:39 -04:00
OpcodeMake.cpp Enable OpcodeMake test, by sampling values. 2015-10-26 12:54:39 -04:00
OpcodeRequiresCapabilities.cpp Remove spvOpcodeIsVariable 2015-10-26 12:54:39 -04:00
OpcodeSplit.cpp Put test classes in anonymous namespace. 2015-10-26 12:52:01 -04:00
OpcodeTableGet.cpp Put test classes in anonymous namespace. 2015-10-26 12:52:01 -04:00
OperandPattern.cpp Use opcode operand definitions from SPIR-V specification generator. 2015-10-26 12:52:01 -04:00
OperandTableGet.cpp Put test classes in anonymous namespace. 2015-10-26 12:52:01 -04:00
TestFixture.h Simplify uses of spvBinaryDestroy in tests 2015-10-26 12:54:39 -04:00
TextAdvance.cpp Put test classes in anonymous namespace. 2015-10-26 12:52:01 -04:00
TextDestroy.cpp spvTextDestroy is no-op on nullptr. 2015-10-26 12:54:39 -04:00
TextLiteral.cpp Put test classes in anonymous namespace. 2015-10-26 12:52:01 -04:00
TextStartsNewInst.cpp Use opcode operand definitions from SPIR-V specification generator. 2015-10-26 12:52:01 -04:00
TextToBinary.cpp Simplify uses of spvBinaryDestroy in tests 2015-10-26 12:54:39 -04:00
TextWordGet.cpp Getting the next word respects quoting and escaping. 2015-10-26 12:52:01 -04:00
UnitSPIRV.h Don't overload operators in std namespace. 2015-10-26 12:52:01 -04:00
Validate.cpp Use opcode operand definitions from SPIR-V specification generator. 2015-10-26 12:52:01 -04:00
ValidateID.cpp Use opcode operand definitions from SPIR-V specification generator. 2015-10-26 12:52:01 -04:00