Prepare the C++ interface for publication.
authorLei Zhang <antiagainst@google.com>
Fri, 9 Sep 2016 14:46:23 +0000 (10:46 -0400)
committerLei Zhang <antiagainst@google.com>
Fri, 16 Sep 2016 20:37:27 +0000 (16:37 -0400)
commit8654caa5657ef0e12367d9e705e6c31e70f68668
tree117e7dca92497367c424025d8fda4d3f28c1eef9
parentb54686d0170cc72b889e9bdc45f9c173f26e3467
Prepare the C++ interface for publication.

* Use PIMPL idiom in the C++ interface.
* Clean up interface for assembling and disassembling.
* Add validation into C++ interface.
* Add more tests for the C++ interface.
source/opt/build_module.cpp
source/opt/libspirv.cpp
source/opt/libspirv.hpp
test/cpp_interface.cpp
test/opt/pass_fixture.h
test/opt/test_ir_loader.cpp