Re-format source tree - NFC.
authorDiego Novillo <dnovillo@google.com>
Mon, 27 Nov 2017 15:16:41 +0000 (10:16 -0500)
committerDiego Novillo <dnovillo@google.com>
Mon, 27 Nov 2017 19:31:49 +0000 (14:31 -0500)
commit83228137e16c0d7fe33eaceddf6f67115d45338f
treea1e2082ec253fe61242c8eeea91943e00a7270d2
parentd8b2013ecfd6603855752452bb3a280a7b515d2c
Re-format source tree - NFC.

Re-formatted the source tree with the command:

$ /usr/bin/clang-format -style=file -i \
    $(find include source tools test utils -name '*.cpp' -or -name '*.h')

This required a fix to source/val/decoration.h.  It was not including
spirv.h, which broke builds when the #include headers were re-ordered by
clang-format.
158 files changed:
source/assembly_grammar.h
source/comp/markv_model.h
source/id_descriptor.cpp
source/link/linker.cpp
source/name_mapper.cpp
source/opt/basic_block.cpp
source/opt/block_merge_pass.cpp
source/opt/build_module.cpp
source/opt/build_module.h
source/opt/cfg.cpp
source/opt/cfg.h
source/opt/cfg_cleanup_pass.cpp
source/opt/common_uniform_elim_pass.cpp
source/opt/dead_branch_elim_pass.cpp
source/opt/dead_variable_elimination.cpp
source/opt/decoration_manager.cpp
source/opt/decoration_manager.h
source/opt/def_use_manager.cpp
source/opt/def_use_manager.h
source/opt/eliminate_dead_constant_pass.cpp
source/opt/eliminate_dead_functions_pass.cpp
source/opt/fold_spec_constant_op_and_composite_pass.cpp
source/opt/function.cpp
source/opt/inline_pass.cpp
source/opt/inline_pass.h
source/opt/insert_extract_elim.cpp
source/opt/insert_extract_elim.h
source/opt/instruction.h
source/opt/ir_context.cpp
source/opt/ir_context.h
source/opt/local_access_chain_convert_pass.cpp
source/opt/local_single_block_elim_pass.cpp
source/opt/local_single_block_elim_pass.h
source/opt/local_single_store_elim_pass.cpp
source/opt/local_single_store_elim_pass.h
source/opt/local_ssa_elim_pass.cpp
source/opt/mem_pass.cpp
source/opt/passes.h
source/opt/remove_duplicates_pass.cpp
source/opt/set_spec_constant_default_value_pass.cpp
source/opt/strength_reduction_pass.cpp
source/opt/unify_const_pass.cpp
source/opt/value_number_table.cpp
source/text_handler.h
source/util/parse_number.cpp
source/val/basic_block.h
source/val/construct.cpp
source/val/construct.h
source/val/decoration.h
source/val/function.cpp
source/val/function.h
source/val/instruction.h
source/val/validation_state.cpp
source/val/validation_state.h
source/validate.cpp
source/validate_arithmetics.cpp
source/validate_bitwise.cpp
source/validate_derivatives.cpp
source/validate_id.cpp
source/validate_image.cpp
source/validate_layout.cpp
source/validate_logicals.cpp
test/assembly_context_test.cpp
test/binary_parse_test.cpp
test/binary_to_text_test.cpp
test/bit_stream.cpp
test/comp/markv_codec_test.cpp
test/diagnostic_test.cpp
test/enum_set_test.cpp
test/enum_string_mapping_test.cpp
test/ext_inst.glsl_test.cpp
test/ext_inst.opencl_test.cpp
test/generator_magic_number_test.cpp
test/hex_float_test.cpp
test/huffman_codec.cpp
test/immediate_int_test.cpp
test/link/binary_version_test.cpp
test/link/ids_limit_test.cpp
test/link/unique_ids_test.cpp
test/move_to_front_test.cpp
test/name_mapper_test.cpp
test/named_id_test.cpp
test/operand_capabilities_test.cpp
test/operand_pattern_test.cpp
test/operand_test.cpp
test/opt/aggressive_dead_code_elim_test.cpp
test/opt/assembly_builder.h
test/opt/assembly_builder_test.cpp
test/opt/block_merge_test.cpp
test/opt/cfg_cleanup_test.cpp
test/opt/common_uniform_elim_test.cpp
test/opt/compact_ids_test.cpp
test/opt/dead_branch_elim_test.cpp
test/opt/def_use_test.cpp
test/opt/eliminate_dead_const_test.cpp
test/opt/inline_opaque_test.cpp
test/opt/inline_test.cpp
test/opt/insert_extract_elim_test.cpp
test/opt/instruction_test.cpp
test/opt/ir_loader_test.cpp
test/opt/local_access_chain_convert_test.cpp
test/opt/local_redundancy_elimination_test.cpp
test/opt/local_single_block_elim.cpp
test/opt/local_single_store_elim_test.cpp
test/opt/local_ssa_elim_test.cpp
test/opt/module_test.cpp
test/opt/module_utils.h
test/opt/pass_fixture.h
test/opt/pass_manager_test.cpp
test/opt/set_spec_const_default_value_test.cpp
test/opt/strip_debug_info_test.cpp
test/opt/unify_const_test.cpp
test/opt/utils_test.cpp
test/opt/value_table_test.cpp
test/parse_number_test.cpp
test/preserve_numeric_ids_test.cpp
test/stats/stats_aggregate_test.cpp
test/stats/stats_analyzer_test.cpp
test/target_env_test.cpp
test/text_literal_test.cpp
test/text_to_binary.annotation_test.cpp
test/text_to_binary.barrier_test.cpp
test/text_to_binary.constant_test.cpp
test/text_to_binary.control_flow_test.cpp
test/text_to_binary.debug_test.cpp
test/text_to_binary.device_side_enqueue_test.cpp
test/text_to_binary.extension_test.cpp
test/text_to_binary.image_test.cpp
test/text_to_binary.memory_test.cpp
test/text_to_binary.misc_test.cpp
test/text_to_binary.mode_setting_test.cpp
test/text_to_binary.pipe_storage_test.cpp
test/text_to_binary.subgroup_dispatch_test.cpp
test/text_to_binary.type_declaration_test.cpp
test/text_to_binary_test.cpp
test/unit_spirv.h
test/util/ilist_test.cpp
test/val/val_arithmetics_test.cpp
test/val/val_bitwise_test.cpp
test/val/val_capability_test.cpp
test/val/val_cfg_test.cpp
test/val/val_conversion_test.cpp
test/val/val_data_test.cpp
test/val/val_decoration_test.cpp
test/val/val_derivatives_test.cpp
test/val/val_extensions_test.cpp
test/val/val_fixtures.cpp
test/val/val_fixtures.h
test/val/val_id_test.cpp
test/val/val_image_test.cpp
test/val/val_instructions_test.cpp
test/val/val_layout_test.cpp
test/val/val_limits_test.cpp
test/val/val_logicals_test.cpp
test/val/val_ssa_test.cpp
test/val/val_state_test.cpp
test/val/val_storage_test.cpp
test/val/val_type_unique_test.cpp