Rename validation source files to comply with Google style guide.

This commit is contained in:
Lei Zhang 2016-11-08 10:26:09 -08:00 committed by Lei Zhang
parent 2881fe958f
commit 38036a7203
18 changed files with 37 additions and 37 deletions

View File

@ -160,11 +160,11 @@ set(SPIRV_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/validate_instruction.cpp
${CMAKE_CURRENT_SOURCE_DIR}/validate_datarules.cpp
${CMAKE_CURRENT_SOURCE_DIR}/validate_layout.cpp
${CMAKE_CURRENT_SOURCE_DIR}/val/BasicBlock.cpp
${CMAKE_CURRENT_SOURCE_DIR}/val/Construct.cpp
${CMAKE_CURRENT_SOURCE_DIR}/val/Function.cpp
${CMAKE_CURRENT_SOURCE_DIR}/val/Instruction.cpp
${CMAKE_CURRENT_SOURCE_DIR}/val/ValidationState.cpp)
${CMAKE_CURRENT_SOURCE_DIR}/val/basic_block.cpp
${CMAKE_CURRENT_SOURCE_DIR}/val/construct.cpp
${CMAKE_CURRENT_SOURCE_DIR}/val/function.cpp
${CMAKE_CURRENT_SOURCE_DIR}/val/instruction.cpp
${CMAKE_CURRENT_SOURCE_DIR}/val/validation_state.cpp)
# The software_version.cpp file includes build-version.inc.
# Rebuild the software_version.cpp object file if it is older than

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "BasicBlock.h"
#include "val/basic_block.h"
#include <algorithm>
#include <utility>

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "val/Construct.h"
#include "val/construct.h"
#include <cassert>
#include <cstddef>

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "val/Function.h"
#include "val/function.h"
#include <cassert>
@ -21,8 +21,8 @@
#include <unordered_map>
#include <utility>
#include "val/BasicBlock.h"
#include "val/Construct.h"
#include "val/basic_block.h"
#include "val/construct.h"
#include "validate.h"
using std::ignore;

View File

@ -15,16 +15,16 @@
#ifndef LIBSPIRV_VAL_FUNCTION_H_
#define LIBSPIRV_VAL_FUNCTION_H_
#include <list>
#include <functional>
#include <list>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include "spirv-tools/libspirv.h"
#include "spirv/1.1/spirv.h"
#include "val/BasicBlock.h"
#include "val/Construct.h"
#include "val/basic_block.h"
#include "val/construct.h"
namespace libspirv {

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "val/Instruction.h"
#include "val/instruction.h"
#include <utility>

View File

@ -12,13 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "val/ValidationState.h"
#include "val/validation_state.h"
#include <cassert>
#include "val/BasicBlock.h"
#include "val/Construct.h"
#include "val/Function.h"
#include "val/basic_block.h"
#include "val/construct.h"
#include "val/function.h"
using std::deque;
using std::make_pair;

View File

@ -27,8 +27,8 @@
#include "spirv-tools/libspirv.h"
#include "spirv/1.1/spirv.h"
#include "spirv_definition.h"
#include "val/Function.h"
#include "val/Instruction.h"
#include "val/function.h"
#include "val/instruction.h"
namespace libspirv {

View File

@ -32,9 +32,9 @@
#include "spirv-tools/libspirv.h"
#include "spirv_constant.h"
#include "spirv_endian.h"
#include "val/Construct.h"
#include "val/Function.h"
#include "val/ValidationState.h"
#include "val/construct.h"
#include "val/function.h"
#include "val/validation_state.h"
using std::function;
using std::ostream_iterator;

View File

@ -26,10 +26,10 @@
#include <utility>
#include <vector>
#include "val/BasicBlock.h"
#include "val/Construct.h"
#include "val/Function.h"
#include "val/ValidationState.h"
#include "val/basic_block.h"
#include "val/construct.h"
#include "val/function.h"
#include "val/validation_state.h"
using std::find;
using std::function;

View File

@ -23,7 +23,7 @@
#include "diagnostic.h"
#include "opcode.h"
#include "operand.h"
#include "val/ValidationState.h"
#include "val/validation_state.h"
using libspirv::CapabilitySet;
using libspirv::DiagnosticStream;

View File

@ -27,8 +27,8 @@
#include "message.h"
#include "opcode.h"
#include "spirv-tools/libspirv.h"
#include "val/Function.h"
#include "val/ValidationState.h"
#include "val/function.h"
#include "val/validation_state.h"
using libspirv::ValidationState_t;
using std::function;

View File

@ -26,8 +26,8 @@
#include "opcode.h"
#include "operand.h"
#include "spirv_definition.h"
#include "val/Function.h"
#include "val/ValidationState.h"
#include "val/function.h"
#include "val/validation_state.h"
using libspirv::AssemblyGrammar;
using libspirv::CapabilitySet;

View File

@ -22,8 +22,8 @@
#include "opcode.h"
#include "operand.h"
#include "spirv-tools/libspirv.h"
#include "val/Function.h"
#include "val/ValidationState.h"
#include "val/function.h"
#include "val/validation_state.h"
using libspirv::ValidationState_t;
using libspirv::kLayoutMemoryModel;

View File

@ -21,9 +21,9 @@
#include "spirv/1.1/spirv.h"
#include "enum_set.h"
#include "val/Construct.h"
#include "val/Function.h"
#include "val/ValidationState.h"
#include "val/construct.h"
#include "val/function.h"
#include "val/validation_state.h"
#include "validate.h"
namespace {