From c9f18a6cd87c1ddbdb7bf9d18dd105baae8dfac8 Mon Sep 17 00:00:00 2001 From: Malinin Andrey Date: Mon, 31 Jul 2023 11:39:52 +0300 Subject: [PATCH] Fixing comments' style Signed-off-by: Malinin Andrey --- .../ecmascript_codegen_intrinsics.inc | 2 +- .../ecmascript_codegen_extensions.cpp | 2 +- .../ecmascript_compiler_interface.h | 2 +- .../ecmascript_irtoc_interface.h | 2 +- .../ecmascript_irtoc_interface_includes.h | 2 +- compiler/inline_intrinsics_ecmascript.cpp | 2 +- compiler/intrinsics_graph_checker.h | 2 +- compiler/intrinsics_inline_ecmascript.inl.h | 2 +- compiler/optimizer/ir/dyn_datatype.h | 2 +- .../ir_builder/ecmascript_inst_builder.cpp | 2 +- .../ir_builder/ecmascript_inst_builder.h | 2 +- .../optimizations/inline_call_intrinsics.cpp | 2 +- .../optimizations/inline_call_intrinsics.h | 2 +- runtime/accessor_data.h | 2 +- runtime/asm_defines/defines.h | 2 +- runtime/base/array_helper.cpp | 2 +- runtime/base/array_helper.h | 2 +- runtime/base/builtins_base.cpp | 2 +- runtime/base/builtins_base.h | 2 +- runtime/base/config.h | 2 +- runtime/base/error_helper.cpp | 2 +- runtime/base/error_helper.h | 2 +- runtime/base/error_type.h | 2 +- runtime/base/json_parser.cpp | 2 +- runtime/base/json_parser.h | 2 +- runtime/base/json_stringifier.cpp | 2 +- runtime/base/json_stringifier.h | 2 +- runtime/base/number_helper.cpp | 2 +- runtime/base/number_helper.h | 2 +- runtime/base/string_helper.cpp | 2 +- runtime/base/string_helper.h | 2 +- runtime/base/typed_array_helper-inl.h | 2 +- runtime/base/typed_array_helper.cpp | 2 +- runtime/base/typed_array_helper.h | 2 +- runtime/builtins.cpp | 2 +- runtime/builtins.h | 2 +- runtime/builtins/builtins_ark_tools.cpp | 2 +- runtime/builtins/builtins_array.cpp | 2 +- runtime/builtins/builtins_arraybuffer.cpp | 4 +- runtime/builtins/builtins_async_function.cpp | 2 +- runtime/builtins/builtins_async_iterator.cpp | 2 +- runtime/builtins/builtins_bigint.cpp | 2 +- runtime/builtins/builtins_boolean.cpp | 2 +- runtime/builtins/builtins_collator.cpp | 2 +- runtime/builtins/builtins_dataview.cpp | 2 +- runtime/builtins/builtins_date.cpp | 2 +- .../builtins/builtins_date_time_format.cpp | 2 +- runtime/builtins/builtins_errors.cpp | 2 +- .../builtins_finalization_registry.cpp | 2 +- runtime/builtins/builtins_function.cpp | 2 +- runtime/builtins/builtins_generator.cpp | 2 +- runtime/builtins/builtins_global.cpp | 2 +- runtime/builtins/builtins_intl.cpp | 2 +- runtime/builtins/builtins_iterator.cpp | 2 +- runtime/builtins/builtins_json.cpp | 2 +- runtime/builtins/builtins_locale.cpp | 2 +- runtime/builtins/builtins_map.cpp | 2 +- runtime/builtins/builtins_math.cpp | 2 +- runtime/builtins/builtins_number.cpp | 2 +- runtime/builtins/builtins_number_format.cpp | 2 +- runtime/builtins/builtins_object.cpp | 2 +- runtime/builtins/builtins_plural_rules.cpp | 2 +- runtime/builtins/builtins_promise.cpp | 2 +- runtime/builtins/builtins_promise_handler.cpp | 2 +- runtime/builtins/builtins_promise_job.cpp | 2 +- runtime/builtins/builtins_proxy.cpp | 2 +- runtime/builtins/builtins_reflect.cpp | 2 +- runtime/builtins/builtins_regexp.cpp | 6 +- runtime/builtins/builtins_regexp.h | 2 +- .../builtins_relative_time_format.cpp | 2 +- runtime/builtins/builtins_runtime_testing.cpp | 2 +- runtime/builtins/builtins_set.cpp | 2 +- runtime/builtins/builtins_string.cpp | 2 +- runtime/builtins/builtins_string_iterator.cpp | 2 +- runtime/builtins/builtins_symbol.cpp | 2 +- runtime/builtins/builtins_typedarray.cpp | 2 +- runtime/builtins/builtins_weak_map.cpp | 2 +- runtime/builtins/builtins_weak_ref.cpp | 2 +- runtime/builtins/builtins_weak_set.cpp | 2 +- runtime/class_info_extractor.cpp | 2 +- runtime/class_info_extractor.h | 2 +- .../class_linker/panda_file_translator.cpp | 2 +- runtime/class_linker/panda_file_translator.h | 2 +- runtime/class_linker/program_object-inl.h | 2 +- runtime/class_linker/program_object.h | 2 +- runtime/common.h | 2 +- .../compiler/ecmascript_runtime_interface.cpp | 2 +- .../compiler/ecmascript_runtime_interface.h | 2 +- runtime/containers/containers_arraylist.cpp | 2 +- runtime/containers/containers_arraylist.h | 2 +- runtime/containers/containers_private.cpp | 2 +- runtime/containers/containers_private.h | 2 +- runtime/dump.cpp | 2 +- runtime/ecma_call_profiling_table.cpp | 2 +- runtime/ecma_call_profiling_table.h | 2 +- runtime/ecma_class_linker_extension.cpp | 2 +- runtime/ecma_class_linker_extension.h | 2 +- runtime/ecma_compiler.cpp | 2 +- runtime/ecma_compiler.h | 2 +- runtime/ecma_entrypoints.cpp | 2 +- runtime/ecma_entrypoints.h | 2 +- runtime/ecma_exceptions.cpp | 2 +- runtime/ecma_exceptions.h | 2 +- runtime/ecma_global_storage-inl.h | 2 +- runtime/ecma_global_storage.h | 2 +- runtime/ecma_handle_scope-inl.h | 2 +- runtime/ecma_handle_scope.h | 2 +- runtime/ecma_language_context-inl.h | 2 +- runtime/ecma_language_context.cpp | 2 +- runtime/ecma_language_context.h | 2 +- runtime/ecma_macro_accessors.h | 15 +++ runtime/ecma_macros.h | 2 +- runtime/ecma_module.cpp | 2 +- runtime/ecma_module.h | 2 +- runtime/ecma_profiling.cpp | 2 +- runtime/ecma_profiling.h | 4 +- runtime/ecma_runtime_call_info.h | 2 +- runtime/ecma_string-inl.h | 2 +- runtime/ecma_string.cpp | 2 +- runtime/ecma_string.h | 34 ++--- runtime/ecma_string_table.cpp | 2 +- runtime/ecma_string_table.h | 2 +- runtime/ecma_vm.cpp | 2 +- runtime/ecma_vm.h | 10 +- runtime/free_object.cpp | 2 +- runtime/free_object.h | 2 +- runtime/generator_helper.cpp | 2 +- runtime/generator_helper.h | 2 +- runtime/global_dictionary-inl.h | 2 +- runtime/global_dictionary.h | 2 +- runtime/global_env.cpp | 2 +- runtime/global_env.h | 2 +- runtime/global_env_constants-inl.h | 2 +- runtime/global_env_constants.cpp | 2 +- runtime/global_env_constants.h | 2 +- runtime/global_handle_collection.h | 2 +- runtime/handle_storage_check.h | 2 +- runtime/ic/ic_binary_op-inl.h | 2 +- runtime/ic/ic_binary_op.h | 2 +- runtime/ic/ic_compare_op.cpp | 2 +- runtime/ic/ic_compare_op.h | 2 +- runtime/ic/ic_handler-inl.h | 2 +- runtime/ic/ic_handler.h | 2 +- runtime/ic/ic_runtime.cpp | 2 +- runtime/ic/ic_runtime.h | 2 +- runtime/ic/ic_runtime_stub-inl.h | 2 +- runtime/ic/ic_runtime_stub.cpp | 2 +- runtime/ic/ic_runtime_stub.h | 2 +- runtime/ic/invoke_cache.h | 2 +- runtime/ic/profile_type_info.cpp | 2 +- runtime/ic/profile_type_info.h | 2 +- runtime/ic/properties_cache-inl.h | 2 +- runtime/ic/properties_cache.h | 2 +- runtime/ic/property_box.cpp | 2 +- runtime/ic/property_box.h | 2 +- runtime/ic/proto_change_details.cpp | 2 +- runtime/ic/proto_change_details.h | 2 +- runtime/internal_call_params.cpp | 2 +- runtime/internal_call_params.h | 2 +- runtime/interpreter/fast_runtime_stub-inl.h | 2 +- runtime/interpreter/fast_runtime_stub.h | 2 +- runtime/interpreter/interpreter.h | 2 +- runtime/interpreter/slow_runtime_helper.cpp | 2 +- runtime/interpreter/slow_runtime_helper.h | 2 +- runtime/interpreter/slow_runtime_stub.cpp | 2 +- runtime/interpreter/slow_runtime_stub.h | 2 +- runtime/intrinsics-inl.h | 2 +- runtime/jobs/micro_job_queue.cpp | 2 +- runtime/jobs/micro_job_queue.h | 2 +- runtime/jobs/pending_job.h | 2 +- runtime/js_arguments.cpp | 2 +- runtime/js_arguments.h | 2 +- runtime/js_array.cpp | 2 +- runtime/js_array.h | 2 +- runtime/js_array_iterator.cpp | 2 +- runtime/js_array_iterator.h | 2 +- runtime/js_arraybuffer.cpp | 2 +- runtime/js_arraybuffer.h | 2 +- runtime/js_arraylist.cpp | 2 +- runtime/js_arraylist.h | 2 +- .../js_async_from_sync_iterator_object.cpp | 2 +- runtime/js_async_from_sync_iterator_object.h | 2 +- runtime/js_async_function.cpp | 2 +- runtime/js_async_function.h | 2 +- runtime/js_async_generator_object.cpp | 2 +- runtime/js_async_generator_object.h | 2 +- runtime/js_bigint.cpp | 2 +- runtime/js_bigint.h | 2 +- runtime/js_collator.cpp | 2 +- runtime/js_collator.h | 2 +- runtime/js_dataview.cpp | 2 +- runtime/js_dataview.h | 2 +- runtime/js_date.cpp | 2 +- runtime/js_date.h | 2 +- runtime/js_date_time_format.cpp | 2 +- runtime/js_date_time_format.h | 2 +- runtime/js_eval.cpp | 2 +- runtime/js_eval.h | 2 +- runtime/js_finalization_registry.cpp | 2 +- runtime/js_finalization_registry.h | 2 +- runtime/js_for_in_iterator.cpp | 2 +- runtime/js_for_in_iterator.h | 2 +- runtime/js_function.cpp | 2 +- runtime/js_function.h | 2 +- runtime/js_function_extra_info.h | 2 +- runtime/js_function_kind.h | 2 +- runtime/js_generator_object.cpp | 2 +- runtime/js_generator_object.h | 2 +- runtime/js_global_object.h | 2 +- runtime/js_handle.h | 6 +- runtime/js_hclass-inl.h | 2 +- runtime/js_hclass.cpp | 2 +- runtime/js_hclass.h | 2 +- runtime/js_intl.h | 2 +- runtime/js_invoker.cpp | 2 +- runtime/js_invoker.h | 2 +- runtime/js_iterator.cpp | 2 +- runtime/js_iterator.h | 2 +- runtime/js_locale.cpp | 2 +- runtime/js_locale.h | 2 +- runtime/js_map.cpp | 2 +- runtime/js_map.h | 2 +- runtime/js_map_iterator.cpp | 2 +- runtime/js_map_iterator.h | 2 +- runtime/js_method.cpp | 2 +- runtime/js_method.h | 2 +- runtime/js_native_pointer.h | 2 +- runtime/js_number_format.cpp | 2 +- runtime/js_number_format.h | 2 +- runtime/js_object-inl.h | 2 +- runtime/js_object.cpp | 2 +- runtime/js_object.h | 2 +- runtime/js_plural_rules.cpp | 2 +- runtime/js_plural_rules.h | 2 +- runtime/js_primitive_ref.cpp | 2 +- runtime/js_primitive_ref.h | 2 +- runtime/js_promise.cpp | 2 +- runtime/js_promise.h | 2 +- runtime/js_proxy.cpp | 2 +- runtime/js_proxy.h | 2 +- runtime/js_realm.h | 2 +- runtime/js_regexp.h | 2 +- runtime/js_regexp_iterator.cpp | 2 +- runtime/js_regexp_iterator.h | 2 +- runtime/js_relative_time_format.cpp | 2 +- runtime/js_relative_time_format.h | 2 +- runtime/js_runtime_options.h | 2 +- runtime/js_serializer.cpp | 2 +- runtime/js_serializer.h | 2 +- runtime/js_set.cpp | 2 +- runtime/js_set.h | 2 +- runtime/js_set_iterator.cpp | 2 +- runtime/js_set_iterator.h | 2 +- runtime/js_stable_array.cpp | 2 +- runtime/js_stable_array.h | 2 +- runtime/js_string_iterator.cpp | 2 +- runtime/js_string_iterator.h | 2 +- runtime/js_symbol.h | 2 +- runtime/js_tagged_number.h | 2 +- runtime/js_tagged_value-inl.h | 2 +- runtime/js_tagged_value.cpp | 2 +- runtime/js_tagged_value.h | 2 +- runtime/js_thread.cpp | 2 +- runtime/js_thread.h | 2 +- runtime/js_typed_array.cpp | 2 +- runtime/js_typed_array.h | 2 +- runtime/js_weak_container.cpp | 2 +- runtime/js_weak_container.h | 2 +- runtime/layout_info-inl.h | 2 +- runtime/layout_info.cpp | 2 +- runtime/layout_info.h | 2 +- runtime/lexical_env.h | 2 +- runtime/linked_hash_table-inl.h | 2 +- runtime/linked_hash_table.cpp | 2 +- runtime/linked_hash_table.h | 4 +- runtime/literal_data_extractor.cpp | 2 +- runtime/literal_data_extractor.h | 2 +- runtime/mem/barriers-inl.h | 2 +- runtime/mem/barriers.h | 2 +- runtime/mem/ecma_reference_processor.cpp | 2 +- runtime/mem/ecma_reference_processor.h | 6 +- runtime/mem/ecma_string.cpp | 2 +- runtime/mem/ecma_string.h | 2 +- runtime/mem/mem.h | 2 +- runtime/mem/mem_manager-inl.h | 2 +- runtime/mem/mem_manager.cpp | 2 +- runtime/mem/mem_manager.h | 2 +- runtime/mem/object_xray-inl.h | 2 +- runtime/mem/object_xray.h | 2 +- runtime/mem/slots.h | 2 +- runtime/mem/tagged_object-inl.h | 2 +- runtime/mem/tagged_object.h | 2 +- runtime/message_string.cpp | 2 +- runtime/message_string.h | 2 +- runtime/napi/include/jsnapi.h | 2 +- runtime/napi/jsnapi.cpp | 2 +- runtime/napi/jsnapi_debugger_agent.cpp | 2 +- runtime/napi/jsnapi_debugger_agent.h | 2 +- runtime/napi/jsnapi_helper-inl.h | 2 +- runtime/napi/jsnapi_helper.h | 2 +- runtime/object_factory-inl.h | 2 +- runtime/object_factory.cpp | 2 +- runtime/object_factory.h | 2 +- runtime/object_operator.cpp | 2 +- runtime/object_operator.h | 2 +- runtime/profiling/plugin_read_profile.h | 15 +++ runtime/property_attributes.h | 2 +- runtime/record.h | 2 +- runtime/regexp/regexp_executor.cpp | 2 +- runtime/regexp/regexp_executor.h | 2 +- runtime/regexp/regexp_parser_cache.cpp | 2 +- runtime/regexp/regexp_parser_cache.h | 2 +- runtime/runtime_call_id.h | 2 +- runtime/symbol_table-inl.h | 2 +- runtime/symbol_table.h | 2 +- runtime/tagged_array-inl.h | 2 +- runtime/tagged_array.h | 2 +- runtime/tagged_dictionary.cpp | 2 +- runtime/tagged_dictionary.h | 2 +- runtime/tagged_hash_table-inl.h | 2 +- runtime/tagged_hash_table.h | 2 +- runtime/tagged_queue-inl.h | 2 +- runtime/tagged_queue.h | 2 +- runtime/template_map.h | 2 +- runtime/template_string.cpp | 2 +- runtime/template_string.h | 2 +- runtime/tooling/pt_ecmascript_extension.cpp | 2 +- runtime/tooling/pt_js_extractor.h | 2 +- runtime/transitions_dictionary.h | 2 +- runtime/vmstat/caller_stat.cpp | 2 +- runtime/vmstat/caller_stat.h | 2 +- runtime/vmstat/runtime_stat.cpp | 2 +- runtime/vmstat/runtime_stat.h | 2 +- runtime/weak_vector-inl.h | 2 +- runtime/weak_vector.cpp | 2 +- runtime/weak_vector.h | 2 +- tests/assembler/emitter_test_ecmascript.cpp | 2 +- tests/assembler/parser_test_ecmascript.cpp | 2 +- .../codegen_test_ecmascript.cpp | 2 +- .../reg_encoder_test_ecmascript.cpp | 2 +- .../compiler/branch_elimination_ecma_test.cpp | 2 +- .../compiler/checks_elimination_ecma_test.cpp | 2 +- tests/compiler/codegen_ecma_test.cpp | 2 +- .../inline_call_intrinsics_ecma_test.cpp | 2 +- .../compiler/inline_intrinsics_ecma_test.cpp | 2 +- tests/compiler/ir_builder_ecma_test.cpp | 2 +- tests/compiler/lowering_ecma_test.cpp | 2 +- tests/compiler/peepholes_ecma_test.cpp | 2 +- .../compiler/phi_type_resolving_ecma_test.cpp | 2 +- tests/compiler/unit_ecma_test.cpp | 2 +- tests/compiler/unit_ecma_test.h | 2 +- tests/compiler/vn_test_ecma.cpp | 2 +- .../runtime/builtins/builtins_array_test.cpp | 2 +- .../builtins/builtins_arraybuffer_test.cpp | 2 +- .../runtime/builtins/builtins_bigint_test.cpp | 2 +- .../builtins/builtins_boolean_test.cpp | 2 +- .../builtins/builtins_dataview_test.cpp | 2 +- tests/runtime/builtins/builtins_date_test.cpp | 2 +- .../runtime/builtins/builtins_errors_test.cpp | 10 +- .../builtins/builtins_function_test.cpp | 2 +- .../runtime/builtins/builtins_global_test.cpp | 2 +- .../builtins/builtins_iterator_test.cpp | 2 +- tests/runtime/builtins/builtins_json_test.cpp | 2 +- tests/runtime/builtins/builtins_map_test.cpp | 2 +- tests/runtime/builtins/builtins_math_test.cpp | 2 +- .../runtime/builtins/builtins_number_test.cpp | 2 +- .../runtime/builtins/builtins_object_test.cpp | 2 +- .../builtins/builtins_promise_test.cpp | 126 +++++------------- .../runtime/builtins/builtins_proxy_test.cpp | 2 +- .../builtins/builtins_reflect_test.cpp | 2 +- .../runtime/builtins/builtins_regexp_test.cpp | 2 +- tests/runtime/builtins/builtins_set_test.cpp | 2 +- .../runtime/builtins/builtins_string_test.cpp | 2 +- .../runtime/builtins/builtins_symbol_test.cpp | 2 +- .../builtins/builtins_typedarray_test.cpp | 2 +- .../builtins/builtins_weak_map_test.cpp | 2 +- .../builtins/builtins_weak_set_test.cpp | 2 +- tests/runtime/common/builtins_test.cpp | 2 +- .../runtime/common/concurrent_sweep_test.cpp | 2 +- .../ecma_empty_class_check.cpp | 2 +- tests/runtime/common/ecma_module_test.cpp | 2 +- tests/runtime/common/ecma_string_test.cpp | 2 +- .../common/gc/pending_exception_tests.cpp | 2 +- tests/runtime/common/glue_regs_test.cpp | 2 +- tests/runtime/common/huge_object_test.cpp | 2 +- tests/runtime/common/js_arguments_test.cpp | 2 +- .../runtime/common/js_array_iterator_test.cpp | 2 +- tests/runtime/common/js_array_test.cpp | 2 +- tests/runtime/common/js_dataview_test.cpp | 2 +- tests/runtime/common/js_date_test.cpp | 2 +- .../runtime/common/js_forin_iterator_test.cpp | 2 +- tests/runtime/common/js_function_test.cpp | 2 +- tests/runtime/common/js_handle_test.cpp | 2 +- tests/runtime/common/js_iterator_test.cpp | 2 +- tests/runtime/common/js_map_test.cpp | 2 +- .../runtime/common/js_primitive_ref_test.cpp | 2 +- tests/runtime/common/js_promise_test.cpp | 2 +- tests/runtime/common/js_proxy_test.cpp | 2 +- tests/runtime/common/js_serializer_test.cpp | 2 +- tests/runtime/common/js_set_iterator_test.cpp | 2 +- tests/runtime/common/js_set_test.cpp | 2 +- tests/runtime/common/js_symbol_test.cpp | 2 +- tests/runtime/common/js_tagged_queue_test.cpp | 2 +- tests/runtime/common/js_typed_array_test.cpp | 2 +- tests/runtime/common/large_object_test.cpp | 2 +- tests/runtime/common/lexical_env_test.cpp | 2 +- .../runtime/common/linked_hash_table_test.cpp | 2 +- tests/runtime/common/name_dictionary_test.cpp | 2 +- .../native_methods_api_no_crash.cpp | 2 +- tests/runtime/common/native_pointer_test.cpp | 2 +- tests/runtime/common/object_factory_test.cpp | 2 +- tests/runtime/common/separate_jsvm_test.cpp | 2 +- tests/runtime/common/symbol_table_test.cpp | 2 +- tests/runtime/common/tagged_value_test.cpp | 2 +- tests/runtime/common/test_helper.cpp | 2 +- tests/runtime/common/test_helper.h | 2 +- tests/runtime/common/weak_ref_gen_gc_test.cpp | 2 +- tests/runtime/common/weak_ref_stw_gc_test.cpp | 2 +- tests/runtime/ic/ic_binaryop_test.cpp | 2 +- tests/runtime/ic/ic_compareop_test.cpp | 2 +- tests/runtime/ic/ic_invoke_test.cpp | 2 +- tests/runtime/mem/weak_containers_test.cpp | 2 +- tests/runtime/napi/jsnapi_tests.cpp | 2 +- tests/runtime/regexp/regexp_test.cpp | 2 +- tests/runtime/tooling/js_test_api.h | 2 +- 425 files changed, 502 insertions(+), 564 deletions(-) diff --git a/bytecode_optimizer/visitors/ecmascript_codegen_intrinsics.inc b/bytecode_optimizer/visitors/ecmascript_codegen_intrinsics.inc index 813190b2f..77ac8a228 100644 --- a/bytecode_optimizer/visitors/ecmascript_codegen_intrinsics.inc +++ b/bytecode_optimizer/visitors/ecmascript_codegen_intrinsics.inc @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/compiler/ecmascript_extensions/ecmascript_codegen_extensions.cpp b/compiler/ecmascript_extensions/ecmascript_codegen_extensions.cpp index a54856f6f..7d6de0e9e 100644 --- a/compiler/ecmascript_extensions/ecmascript_codegen_extensions.cpp +++ b/compiler/ecmascript_extensions/ecmascript_codegen_extensions.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/compiler/ecmascript_extensions/ecmascript_compiler_interface.h b/compiler/ecmascript_extensions/ecmascript_compiler_interface.h index 61280c095..c7b9cd481 100644 --- a/compiler/ecmascript_extensions/ecmascript_compiler_interface.h +++ b/compiler/ecmascript_extensions/ecmascript_compiler_interface.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/compiler/ecmascript_extensions/ecmascript_irtoc_interface.h b/compiler/ecmascript_extensions/ecmascript_irtoc_interface.h index bfe30ebde..14a415f1e 100644 --- a/compiler/ecmascript_extensions/ecmascript_irtoc_interface.h +++ b/compiler/ecmascript_extensions/ecmascript_irtoc_interface.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/compiler/ecmascript_extensions/ecmascript_irtoc_interface_includes.h b/compiler/ecmascript_extensions/ecmascript_irtoc_interface_includes.h index e28a2ce93..f1f49502a 100644 --- a/compiler/ecmascript_extensions/ecmascript_irtoc_interface_includes.h +++ b/compiler/ecmascript_extensions/ecmascript_irtoc_interface_includes.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/compiler/inline_intrinsics_ecmascript.cpp b/compiler/inline_intrinsics_ecmascript.cpp index 831ecf2ff..7c18e893f 100644 --- a/compiler/inline_intrinsics_ecmascript.cpp +++ b/compiler/inline_intrinsics_ecmascript.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/compiler/intrinsics_graph_checker.h b/compiler/intrinsics_graph_checker.h index f35a3afe2..52ac74094 100644 --- a/compiler/intrinsics_graph_checker.h +++ b/compiler/intrinsics_graph_checker.h @@ -1,4 +1,4 @@ - /* + /** * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/compiler/intrinsics_inline_ecmascript.inl.h b/compiler/intrinsics_inline_ecmascript.inl.h index 5370c5615..17d80f298 100644 --- a/compiler/intrinsics_inline_ecmascript.inl.h +++ b/compiler/intrinsics_inline_ecmascript.inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/compiler/optimizer/ir/dyn_datatype.h b/compiler/optimizer/ir/dyn_datatype.h index b22580d38..1ea78f479 100644 --- a/compiler/optimizer/ir/dyn_datatype.h +++ b/compiler/optimizer/ir/dyn_datatype.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/compiler/optimizer/ir_builder/ecmascript_inst_builder.cpp b/compiler/optimizer/ir_builder/ecmascript_inst_builder.cpp index 7839e1c0a..e4ece81b6 100644 --- a/compiler/optimizer/ir_builder/ecmascript_inst_builder.cpp +++ b/compiler/optimizer/ir_builder/ecmascript_inst_builder.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/compiler/optimizer/ir_builder/ecmascript_inst_builder.h b/compiler/optimizer/ir_builder/ecmascript_inst_builder.h index 3c92b6728..a3739bb77 100644 --- a/compiler/optimizer/ir_builder/ecmascript_inst_builder.h +++ b/compiler/optimizer/ir_builder/ecmascript_inst_builder.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/compiler/optimizer/optimizations/inline_call_intrinsics.cpp b/compiler/optimizer/optimizations/inline_call_intrinsics.cpp index cb41d4399..e3f114469 100644 --- a/compiler/optimizer/optimizations/inline_call_intrinsics.cpp +++ b/compiler/optimizer/optimizations/inline_call_intrinsics.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/compiler/optimizer/optimizations/inline_call_intrinsics.h b/compiler/optimizer/optimizations/inline_call_intrinsics.h index e7db5c433..3fca9203b 100644 --- a/compiler/optimizer/optimizations/inline_call_intrinsics.h +++ b/compiler/optimizer/optimizations/inline_call_intrinsics.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/accessor_data.h b/runtime/accessor_data.h index de0b0424d..0f52782f9 100644 --- a/runtime/accessor_data.h +++ b/runtime/accessor_data.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/asm_defines/defines.h b/runtime/asm_defines/defines.h index db058e031..0a2b227dd 100644 --- a/runtime/asm_defines/defines.h +++ b/runtime/asm_defines/defines.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/array_helper.cpp b/runtime/base/array_helper.cpp index c8555ed67..a583093f2 100644 --- a/runtime/base/array_helper.cpp +++ b/runtime/base/array_helper.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/array_helper.h b/runtime/base/array_helper.h index 0a9ac8409..d5bfbcd6b 100644 --- a/runtime/base/array_helper.h +++ b/runtime/base/array_helper.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/builtins_base.cpp b/runtime/base/builtins_base.cpp index 0a32f1e3d..33405a0ab 100644 --- a/runtime/base/builtins_base.cpp +++ b/runtime/base/builtins_base.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/builtins_base.h b/runtime/base/builtins_base.h index 5d825304b..4e9a2b0d1 100644 --- a/runtime/base/builtins_base.h +++ b/runtime/base/builtins_base.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/config.h b/runtime/base/config.h index 0b9b7d21f..267ae3d78 100644 --- a/runtime/base/config.h +++ b/runtime/base/config.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/error_helper.cpp b/runtime/base/error_helper.cpp index 6b527bdbf..662cc7d53 100644 --- a/runtime/base/error_helper.cpp +++ b/runtime/base/error_helper.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/error_helper.h b/runtime/base/error_helper.h index 155bd7817..b410d2e4c 100644 --- a/runtime/base/error_helper.h +++ b/runtime/base/error_helper.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/error_type.h b/runtime/base/error_type.h index 37783ac29..f92016abc 100644 --- a/runtime/base/error_type.h +++ b/runtime/base/error_type.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/json_parser.cpp b/runtime/base/json_parser.cpp index ff01897f1..579d89b84 100644 --- a/runtime/base/json_parser.cpp +++ b/runtime/base/json_parser.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/json_parser.h b/runtime/base/json_parser.h index dedf9468f..5d35d4df7 100644 --- a/runtime/base/json_parser.h +++ b/runtime/base/json_parser.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/json_stringifier.cpp b/runtime/base/json_stringifier.cpp index b3e2a9cbe..80216677d 100644 --- a/runtime/base/json_stringifier.cpp +++ b/runtime/base/json_stringifier.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/json_stringifier.h b/runtime/base/json_stringifier.h index 99a98608a..b0b712dd4 100644 --- a/runtime/base/json_stringifier.h +++ b/runtime/base/json_stringifier.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/number_helper.cpp b/runtime/base/number_helper.cpp index 61b8cc99e..44bd42832 100644 --- a/runtime/base/number_helper.cpp +++ b/runtime/base/number_helper.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/number_helper.h b/runtime/base/number_helper.h index b4ab600b1..3db41e4e4 100644 --- a/runtime/base/number_helper.h +++ b/runtime/base/number_helper.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/string_helper.cpp b/runtime/base/string_helper.cpp index 4d57bb987..ebf3873c4 100644 --- a/runtime/base/string_helper.cpp +++ b/runtime/base/string_helper.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/string_helper.h b/runtime/base/string_helper.h index c1184b40d..acf496839 100644 --- a/runtime/base/string_helper.h +++ b/runtime/base/string_helper.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/typed_array_helper-inl.h b/runtime/base/typed_array_helper-inl.h index cf8224650..93d175b45 100644 --- a/runtime/base/typed_array_helper-inl.h +++ b/runtime/base/typed_array_helper-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/typed_array_helper.cpp b/runtime/base/typed_array_helper.cpp index de31a0797..af1864c46 100644 --- a/runtime/base/typed_array_helper.cpp +++ b/runtime/base/typed_array_helper.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/base/typed_array_helper.h b/runtime/base/typed_array_helper.h index 30975c06a..97db463db 100644 --- a/runtime/base/typed_array_helper.h +++ b/runtime/base/typed_array_helper.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins.cpp b/runtime/builtins.cpp index 690b615d6..03b853594 100644 --- a/runtime/builtins.cpp +++ b/runtime/builtins.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins.h b/runtime/builtins.h index bf08fcb45..c795b1f65 100644 --- a/runtime/builtins.h +++ b/runtime/builtins.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_ark_tools.cpp b/runtime/builtins/builtins_ark_tools.cpp index c31b62f91..3d2fe1382 100644 --- a/runtime/builtins/builtins_ark_tools.cpp +++ b/runtime/builtins/builtins_ark_tools.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_array.cpp b/runtime/builtins/builtins_array.cpp index bae552aca..52586866a 100644 --- a/runtime/builtins/builtins_array.cpp +++ b/runtime/builtins/builtins_array.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_arraybuffer.cpp b/runtime/builtins/builtins_arraybuffer.cpp index 9a728008b..42c6f3b74 100644 --- a/runtime/builtins/builtins_arraybuffer.cpp +++ b/runtime/builtins/builtins_arraybuffer.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -240,7 +240,7 @@ JSTaggedValue builtins::array_buffer::AllocateArrayBuffer(JSThread *thread, cons /** * 1. Let obj be OrdinaryCreateFromConstructor(constructor, "%ArrayBufferPrototype%", * «[[ArrayBufferData]], [[ArrayBufferByteLength]]» ). - * */ + */ ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); JSHandle env = thread->GetEcmaVM()->GetGlobalEnv(); JSHandle arr_buf_func = env->GetArrayBufferFunction(); diff --git a/runtime/builtins/builtins_async_function.cpp b/runtime/builtins/builtins_async_function.cpp index 49157f003..4ecebdf04 100644 --- a/runtime/builtins/builtins_async_function.cpp +++ b/runtime/builtins/builtins_async_function.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_async_iterator.cpp b/runtime/builtins/builtins_async_iterator.cpp index 20a272a18..132801e36 100644 --- a/runtime/builtins/builtins_async_iterator.cpp +++ b/runtime/builtins/builtins_async_iterator.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) Huawei Technologies Co., Ltd. 2019-2021. All rights reserved. * Description: */ diff --git a/runtime/builtins/builtins_bigint.cpp b/runtime/builtins/builtins_bigint.cpp index 8380073b8..d353e7cb1 100644 --- a/runtime/builtins/builtins_bigint.cpp +++ b/runtime/builtins/builtins_bigint.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_boolean.cpp b/runtime/builtins/builtins_boolean.cpp index 91273bd30..878f9771c 100644 --- a/runtime/builtins/builtins_boolean.cpp +++ b/runtime/builtins/builtins_boolean.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_collator.cpp b/runtime/builtins/builtins_collator.cpp index decd7dbdc..9d8c0c5cb 100644 --- a/runtime/builtins/builtins_collator.cpp +++ b/runtime/builtins/builtins_collator.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_dataview.cpp b/runtime/builtins/builtins_dataview.cpp index 3853cdc43..044fd21bd 100644 --- a/runtime/builtins/builtins_dataview.cpp +++ b/runtime/builtins/builtins_dataview.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_date.cpp b/runtime/builtins/builtins_date.cpp index ac4b8c055..cba0e2f3c 100644 --- a/runtime/builtins/builtins_date.cpp +++ b/runtime/builtins/builtins_date.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_date_time_format.cpp b/runtime/builtins/builtins_date_time_format.cpp index 5532455d2..0f884e9fe 100644 --- a/runtime/builtins/builtins_date_time_format.cpp +++ b/runtime/builtins/builtins_date_time_format.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_errors.cpp b/runtime/builtins/builtins_errors.cpp index 649d22bfc..5af1ad712 100644 --- a/runtime/builtins/builtins_errors.cpp +++ b/runtime/builtins/builtins_errors.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_finalization_registry.cpp b/runtime/builtins/builtins_finalization_registry.cpp index 9aa725de0..cc15be15a 100644 --- a/runtime/builtins/builtins_finalization_registry.cpp +++ b/runtime/builtins/builtins_finalization_registry.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_function.cpp b/runtime/builtins/builtins_function.cpp index f5bcd288c..e09a120a5 100644 --- a/runtime/builtins/builtins_function.cpp +++ b/runtime/builtins/builtins_function.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_generator.cpp b/runtime/builtins/builtins_generator.cpp index 8f83dcf1a..0dc16418e 100644 --- a/runtime/builtins/builtins_generator.cpp +++ b/runtime/builtins/builtins_generator.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_global.cpp b/runtime/builtins/builtins_global.cpp index dc963aba1..766db2308 100644 --- a/runtime/builtins/builtins_global.cpp +++ b/runtime/builtins/builtins_global.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_intl.cpp b/runtime/builtins/builtins_intl.cpp index 632ad471d..0ac5b772b 100644 --- a/runtime/builtins/builtins_intl.cpp +++ b/runtime/builtins/builtins_intl.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_iterator.cpp b/runtime/builtins/builtins_iterator.cpp index 8da6a8972..7f779303f 100644 --- a/runtime/builtins/builtins_iterator.cpp +++ b/runtime/builtins/builtins_iterator.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_json.cpp b/runtime/builtins/builtins_json.cpp index 0b9872e41..b074e3697 100644 --- a/runtime/builtins/builtins_json.cpp +++ b/runtime/builtins/builtins_json.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_locale.cpp b/runtime/builtins/builtins_locale.cpp index bf576daed..c5bbdb240 100644 --- a/runtime/builtins/builtins_locale.cpp +++ b/runtime/builtins/builtins_locale.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_map.cpp b/runtime/builtins/builtins_map.cpp index fc4125458..c4bd3e956 100644 --- a/runtime/builtins/builtins_map.cpp +++ b/runtime/builtins/builtins_map.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_math.cpp b/runtime/builtins/builtins_math.cpp index 31b3d41e2..5072f4f01 100644 --- a/runtime/builtins/builtins_math.cpp +++ b/runtime/builtins/builtins_math.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_number.cpp b/runtime/builtins/builtins_number.cpp index 57e6bf594..8d45d7e3c 100644 --- a/runtime/builtins/builtins_number.cpp +++ b/runtime/builtins/builtins_number.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_number_format.cpp b/runtime/builtins/builtins_number_format.cpp index d4a3eb5c6..603e57e9f 100644 --- a/runtime/builtins/builtins_number_format.cpp +++ b/runtime/builtins/builtins_number_format.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_object.cpp b/runtime/builtins/builtins_object.cpp index 2ee0b70ea..10a3f2181 100644 --- a/runtime/builtins/builtins_object.cpp +++ b/runtime/builtins/builtins_object.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_plural_rules.cpp b/runtime/builtins/builtins_plural_rules.cpp index 36c80edbb..29162be48 100644 --- a/runtime/builtins/builtins_plural_rules.cpp +++ b/runtime/builtins/builtins_plural_rules.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_promise.cpp b/runtime/builtins/builtins_promise.cpp index ec72bc7a0..68ca7b685 100644 --- a/runtime/builtins/builtins_promise.cpp +++ b/runtime/builtins/builtins_promise.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_promise_handler.cpp b/runtime/builtins/builtins_promise_handler.cpp index 8ba094ee9..ac7a11537 100644 --- a/runtime/builtins/builtins_promise_handler.cpp +++ b/runtime/builtins/builtins_promise_handler.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_promise_job.cpp b/runtime/builtins/builtins_promise_job.cpp index 0db4448c0..b67490a99 100644 --- a/runtime/builtins/builtins_promise_job.cpp +++ b/runtime/builtins/builtins_promise_job.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_proxy.cpp b/runtime/builtins/builtins_proxy.cpp index f58090c9b..1b5cbb8be 100644 --- a/runtime/builtins/builtins_proxy.cpp +++ b/runtime/builtins/builtins_proxy.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_reflect.cpp b/runtime/builtins/builtins_reflect.cpp index ffb41827d..4e3bc418d 100644 --- a/runtime/builtins/builtins_reflect.cpp +++ b/runtime/builtins/builtins_reflect.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_regexp.cpp b/runtime/builtins/builtins_regexp.cpp index fcdc8c5dd..1fcc04dd7 100644 --- a/runtime/builtins/builtins_regexp.cpp +++ b/runtime/builtins/builtins_regexp.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1603,7 +1603,7 @@ JSTaggedValue RegExpAlloc(JSThread *thread, const JSHandle &new_t /** * 1. Let obj be OrdinaryCreateFromConstructor(new_target, "%RegExpPrototype%", * «[[RegExpMatcher]],[[OriginalSource]], [[OriginalFlags]]»). - * */ + */ ObjectFactory *factory = thread->GetEcmaVM()->GetFactory(); JSHandle env = thread->GetEcmaVM()->GetGlobalEnv(); JSHandle func = env->GetRegExpFunction(); @@ -1722,7 +1722,7 @@ JSTaggedValue RegExpInitialize(JSThread *thread, const JSHandle & /** * 7. If F contains any code unit other than "g", "i", "m", "u", or "y" or if it contains the same code * unit more than once, throw a SyntaxError exception. - **/ + */ PandaString check_str = ConvertToPandaString(*flags_str_handle, StringConvertedUsage::LOGICOPERATION); flags_bits = static_cast(UpdateExpressionFlags(thread, check_str)); RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(thread); diff --git a/runtime/builtins/builtins_regexp.h b/runtime/builtins/builtins_regexp.h index 53555a863..ac8d4de72 100644 --- a/runtime/builtins/builtins_regexp.h +++ b/runtime/builtins/builtins_regexp.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_relative_time_format.cpp b/runtime/builtins/builtins_relative_time_format.cpp index 4ac23a229..7eb8842da 100644 --- a/runtime/builtins/builtins_relative_time_format.cpp +++ b/runtime/builtins/builtins_relative_time_format.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_runtime_testing.cpp b/runtime/builtins/builtins_runtime_testing.cpp index ede6f7175..037e60dd9 100644 --- a/runtime/builtins/builtins_runtime_testing.cpp +++ b/runtime/builtins/builtins_runtime_testing.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_set.cpp b/runtime/builtins/builtins_set.cpp index 2327f64c2..a7abc9a6f 100644 --- a/runtime/builtins/builtins_set.cpp +++ b/runtime/builtins/builtins_set.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_string.cpp b/runtime/builtins/builtins_string.cpp index 6b3bc0078..ff50a410a 100644 --- a/runtime/builtins/builtins_string.cpp +++ b/runtime/builtins/builtins_string.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_string_iterator.cpp b/runtime/builtins/builtins_string_iterator.cpp index 9b8f3c591..d439d574e 100644 --- a/runtime/builtins/builtins_string_iterator.cpp +++ b/runtime/builtins/builtins_string_iterator.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_symbol.cpp b/runtime/builtins/builtins_symbol.cpp index dd13db1ad..c40ff8b71 100644 --- a/runtime/builtins/builtins_symbol.cpp +++ b/runtime/builtins/builtins_symbol.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_typedarray.cpp b/runtime/builtins/builtins_typedarray.cpp index 994df1f99..02a8a8741 100644 --- a/runtime/builtins/builtins_typedarray.cpp +++ b/runtime/builtins/builtins_typedarray.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_weak_map.cpp b/runtime/builtins/builtins_weak_map.cpp index 89b2d0232..df38b9381 100644 --- a/runtime/builtins/builtins_weak_map.cpp +++ b/runtime/builtins/builtins_weak_map.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_weak_ref.cpp b/runtime/builtins/builtins_weak_ref.cpp index 297a91082..88625ae29 100644 --- a/runtime/builtins/builtins_weak_ref.cpp +++ b/runtime/builtins/builtins_weak_ref.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/builtins/builtins_weak_set.cpp b/runtime/builtins/builtins_weak_set.cpp index c08ef9019..84c527d14 100644 --- a/runtime/builtins/builtins_weak_set.cpp +++ b/runtime/builtins/builtins_weak_set.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/class_info_extractor.cpp b/runtime/class_info_extractor.cpp index 00f10d1b4..7a6b01338 100644 --- a/runtime/class_info_extractor.cpp +++ b/runtime/class_info_extractor.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/class_info_extractor.h b/runtime/class_info_extractor.h index 7a992a286..d18cbcabf 100644 --- a/runtime/class_info_extractor.h +++ b/runtime/class_info_extractor.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/class_linker/panda_file_translator.cpp b/runtime/class_linker/panda_file_translator.cpp index 6ffae90a5..5213892d8 100644 --- a/runtime/class_linker/panda_file_translator.cpp +++ b/runtime/class_linker/panda_file_translator.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/class_linker/panda_file_translator.h b/runtime/class_linker/panda_file_translator.h index ff2984338..0b8071fb3 100644 --- a/runtime/class_linker/panda_file_translator.h +++ b/runtime/class_linker/panda_file_translator.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/class_linker/program_object-inl.h b/runtime/class_linker/program_object-inl.h index 51476d856..213495acd 100644 --- a/runtime/class_linker/program_object-inl.h +++ b/runtime/class_linker/program_object-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/class_linker/program_object.h b/runtime/class_linker/program_object.h index 19bb57592..322b8ac5c 100644 --- a/runtime/class_linker/program_object.h +++ b/runtime/class_linker/program_object.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/common.h b/runtime/common.h index c001b36d1..cb61631e1 100644 --- a/runtime/common.h +++ b/runtime/common.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/compiler/ecmascript_runtime_interface.cpp b/runtime/compiler/ecmascript_runtime_interface.cpp index a58eba0af..e70190355 100644 --- a/runtime/compiler/ecmascript_runtime_interface.cpp +++ b/runtime/compiler/ecmascript_runtime_interface.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/compiler/ecmascript_runtime_interface.h b/runtime/compiler/ecmascript_runtime_interface.h index 3153915e2..95b89263e 100644 --- a/runtime/compiler/ecmascript_runtime_interface.h +++ b/runtime/compiler/ecmascript_runtime_interface.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/containers/containers_arraylist.cpp b/runtime/containers/containers_arraylist.cpp index 77a242f55..8f6d217ad 100644 --- a/runtime/containers/containers_arraylist.cpp +++ b/runtime/containers/containers_arraylist.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/containers/containers_arraylist.h b/runtime/containers/containers_arraylist.h index e478635bd..965177147 100644 --- a/runtime/containers/containers_arraylist.h +++ b/runtime/containers/containers_arraylist.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/containers/containers_private.cpp b/runtime/containers/containers_private.cpp index f17c40388..b4de83024 100644 --- a/runtime/containers/containers_private.cpp +++ b/runtime/containers/containers_private.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/containers/containers_private.h b/runtime/containers/containers_private.h index 18d4a1f34..acb7a72ee 100644 --- a/runtime/containers/containers_private.h +++ b/runtime/containers/containers_private.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/dump.cpp b/runtime/dump.cpp index 2d3c56689..445aa8443 100644 --- a/runtime/dump.cpp +++ b/runtime/dump.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_call_profiling_table.cpp b/runtime/ecma_call_profiling_table.cpp index 6dab745e3..c50f5db2d 100644 --- a/runtime/ecma_call_profiling_table.cpp +++ b/runtime/ecma_call_profiling_table.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_call_profiling_table.h b/runtime/ecma_call_profiling_table.h index 028ae2897..4e4bdbf62 100644 --- a/runtime/ecma_call_profiling_table.h +++ b/runtime/ecma_call_profiling_table.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_class_linker_extension.cpp b/runtime/ecma_class_linker_extension.cpp index 6dceabae2..96751814a 100644 --- a/runtime/ecma_class_linker_extension.cpp +++ b/runtime/ecma_class_linker_extension.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_class_linker_extension.h b/runtime/ecma_class_linker_extension.h index 647ca268c..167a81c07 100644 --- a/runtime/ecma_class_linker_extension.h +++ b/runtime/ecma_class_linker_extension.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_compiler.cpp b/runtime/ecma_compiler.cpp index 73f7b6a2f..16dbb03a6 100644 --- a/runtime/ecma_compiler.cpp +++ b/runtime/ecma_compiler.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_compiler.h b/runtime/ecma_compiler.h index 6dcc64e93..01e0d7629 100644 --- a/runtime/ecma_compiler.h +++ b/runtime/ecma_compiler.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_entrypoints.cpp b/runtime/ecma_entrypoints.cpp index 66bbd6ab2..ba86c05dd 100644 --- a/runtime/ecma_entrypoints.cpp +++ b/runtime/ecma_entrypoints.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_entrypoints.h b/runtime/ecma_entrypoints.h index 3483d5788..1664f369d 100644 --- a/runtime/ecma_entrypoints.h +++ b/runtime/ecma_entrypoints.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_exceptions.cpp b/runtime/ecma_exceptions.cpp index 5b0797b84..387b93f84 100644 --- a/runtime/ecma_exceptions.cpp +++ b/runtime/ecma_exceptions.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_exceptions.h b/runtime/ecma_exceptions.h index e6ca135a0..93a0bf7a7 100644 --- a/runtime/ecma_exceptions.h +++ b/runtime/ecma_exceptions.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_global_storage-inl.h b/runtime/ecma_global_storage-inl.h index 59c142265..709a5c6db 100644 --- a/runtime/ecma_global_storage-inl.h +++ b/runtime/ecma_global_storage-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_global_storage.h b/runtime/ecma_global_storage.h index b3c7ee774..30aaba53d 100644 --- a/runtime/ecma_global_storage.h +++ b/runtime/ecma_global_storage.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_handle_scope-inl.h b/runtime/ecma_handle_scope-inl.h index 557b5ff30..6af465448 100644 --- a/runtime/ecma_handle_scope-inl.h +++ b/runtime/ecma_handle_scope-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_handle_scope.h b/runtime/ecma_handle_scope.h index c79b806c6..5da11547e 100644 --- a/runtime/ecma_handle_scope.h +++ b/runtime/ecma_handle_scope.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_language_context-inl.h b/runtime/ecma_language_context-inl.h index 954ea14de..a57ab00c6 100644 --- a/runtime/ecma_language_context-inl.h +++ b/runtime/ecma_language_context-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) Huawei Technologies Co., Ltd. 2019-2021. All rights reserved. * Description: ecmascript language context */ diff --git a/runtime/ecma_language_context.cpp b/runtime/ecma_language_context.cpp index 5c03d5986..8f1fe7006 100644 --- a/runtime/ecma_language_context.cpp +++ b/runtime/ecma_language_context.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_language_context.h b/runtime/ecma_language_context.h index 4356898e6..3b0694045 100644 --- a/runtime/ecma_language_context.h +++ b/runtime/ecma_language_context.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_macro_accessors.h b/runtime/ecma_macro_accessors.h index b012a44c4..6285ee070 100644 --- a/runtime/ecma_macro_accessors.h +++ b/runtime/ecma_macro_accessors.h @@ -1,3 +1,18 @@ +/** + * Copyright (c) 2023 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #ifndef ECMASCRIPT_ECMA_MACRO_ACCESSORS_H #define ECMASCRIPT_ECMA_MACRO_ACCESSORS_H diff --git a/runtime/ecma_macros.h b/runtime/ecma_macros.h index 29efff704..addb7dd8c 100644 --- a/runtime/ecma_macros.h +++ b/runtime/ecma_macros.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_module.cpp b/runtime/ecma_module.cpp index c82e22253..698d2e8f2 100644 --- a/runtime/ecma_module.cpp +++ b/runtime/ecma_module.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_module.h b/runtime/ecma_module.h index c7941c122..30ce047dc 100644 --- a/runtime/ecma_module.h +++ b/runtime/ecma_module.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_profiling.cpp b/runtime/ecma_profiling.cpp index 903add134..d406cdfc2 100644 --- a/runtime/ecma_profiling.cpp +++ b/runtime/ecma_profiling.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_profiling.h b/runtime/ecma_profiling.h index d7be07149..444c40992 100644 --- a/runtime/ecma_profiling.h +++ b/runtime/ecma_profiling.h @@ -566,9 +566,7 @@ private: static_assert(sizeof(callees_idx_) == 8); }; -/** - * The following types are used in profile data serialization. - */ +/// The following types are used in profile data serialization. using EcmaProfileElement = std::vector; using EcmaProfileContainer = std::unordered_map; } // namespace panda::ecmascript diff --git a/runtime/ecma_runtime_call_info.h b/runtime/ecma_runtime_call_info.h index d69e7c25a..ac47a4686 100644 --- a/runtime/ecma_runtime_call_info.h +++ b/runtime/ecma_runtime_call_info.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_string-inl.h b/runtime/ecma_string-inl.h index d0b2d766a..444da07e5 100644 --- a/runtime/ecma_string-inl.h +++ b/runtime/ecma_string-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_string.cpp b/runtime/ecma_string.cpp index 5d3928276..846720e2f 100644 --- a/runtime/ecma_string.cpp +++ b/runtime/ecma_string.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_string.h b/runtime/ecma_string.h index bdd17113c..0eaa63d2c 100644 --- a/runtime/ecma_string.h +++ b/runtime/ecma_string.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -91,9 +91,7 @@ public: return length * sizeof(uint16_t); } - /** - * Methods for uncompressed strings (UTF16): - */ + /// Methods for uncompressed strings (UTF16): static size_t ComputeSizeUtf16(uint32_t utf16_len) { return DATA_OFFSET + ComputeDataSizeUtf16(utf16_len); @@ -110,17 +108,13 @@ public: return GetData(); } - /** - * Methods for compresses strings (UTF8 or LATIN1): - */ + /// Methods for compresses strings (UTF8 or LATIN1): static size_t ComputeSizeUtf8(uint32_t utf8_len) { return DATA_OFFSET + utf8_len; } - /** - * It's Utf8 format, but without 0 in the end. - */ + /// It's Utf8 format, but without 0 in the end. const uint8_t *GetDataUtf8() const { LOG_IF(IsUtf16(), FATAL, RUNTIME) << "EcmaString: Read data as utf8 for utf16 string"; @@ -248,18 +242,12 @@ public: return STRING_COMPRESSED_BIT; } - /** - * Compares strings by bytes, It doesn't check canonical unicode equivalence. - */ + /// Compares strings by bytes, It doesn't check canonical unicode equivalence. static bool StringsAreEqual(EcmaString *str1, EcmaString *str2); - /** - * Compares strings by bytes, It doesn't check canonical unicode equivalence. - */ + /// Compares strings by bytes, It doesn't check canonical unicode equivalence. static bool StringsAreEqualUtf8(const EcmaString *str1, const uint8_t *utf8_data, uint32_t utf8_len, bool can_be_compress); - /** - * Compares strings by bytes, It doesn't check canonical unicode equivalence. - */ + /// Compares strings by bytes, It doesn't check canonical unicode equivalence. static bool StringsAreEqualUtf16(const EcmaString *str1, const uint16_t *utf16_data, uint32_t utf16_len); static uint32_t ComputeHashcodeUtf8(const uint8_t *utf8_data, size_t utf8_len, bool can_be_compress); static uint32_t ComputeHashcodeUtf16(const uint16_t *utf16_data, uint32_t length); @@ -328,15 +316,11 @@ private: uint32_t utf16_len); template - /** - * Check that two spans are equal. Should have the same length. - */ + /// Check that two spans are equal. Should have the same length. static bool StringsAreEquals(Span &str1, Span &str2); template - /** - * Copy String from src to dst - * */ + /// Copy String from src to dst static bool StringCopy(Span &dst, size_t dst_max, Span &src, size_t count); template diff --git a/runtime/ecma_string_table.cpp b/runtime/ecma_string_table.cpp index d4776de5b..de0dec847 100644 --- a/runtime/ecma_string_table.cpp +++ b/runtime/ecma_string_table.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_string_table.h b/runtime/ecma_string_table.h index 7535fa71a..2c189159d 100644 --- a/runtime/ecma_string_table.h +++ b/runtime/ecma_string_table.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_vm.cpp b/runtime/ecma_vm.cpp index 3ce7379e8..90ef32fb0 100644 --- a/runtime/ecma_vm.cpp +++ b/runtime/ecma_vm.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ecma_vm.h b/runtime/ecma_vm.h index 013a36c21..c7a4ce317 100644 --- a/runtime/ecma_vm.h +++ b/runtime/ecma_vm.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -381,14 +381,10 @@ public: return optional_log_enabled_; } - /** - * \brief Calls GC::RegisterNativeAllocation and allocates memory in internal space - */ + /// @brief Calls GC::RegisterNativeAllocation and allocates memory in internal space [[nodiscard]] void *AllocAndRegisterNative(size_t size); - /** - * \brief Calls GC::RegisterNativeFree and frees memory in internal space - */ + /// @brief Calls GC::RegisterNativeFree and frees memory in internal space void FreeAndRegisterNative(void *mem, size_t size); void Iterate(const RootVisitor &v); diff --git a/runtime/free_object.cpp b/runtime/free_object.cpp index 401fda58d..25051b051 100644 --- a/runtime/free_object.cpp +++ b/runtime/free_object.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/free_object.h b/runtime/free_object.h index c38456d22..314f7a89f 100644 --- a/runtime/free_object.h +++ b/runtime/free_object.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/generator_helper.cpp b/runtime/generator_helper.cpp index a6df2adca..4f170864e 100644 --- a/runtime/generator_helper.cpp +++ b/runtime/generator_helper.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/generator_helper.h b/runtime/generator_helper.h index 8ddf1982c..469036555 100644 --- a/runtime/generator_helper.h +++ b/runtime/generator_helper.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/global_dictionary-inl.h b/runtime/global_dictionary-inl.h index 84f9d1a34..117ca5986 100644 --- a/runtime/global_dictionary-inl.h +++ b/runtime/global_dictionary-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/global_dictionary.h b/runtime/global_dictionary.h index c4d071dae..06588efc1 100644 --- a/runtime/global_dictionary.h +++ b/runtime/global_dictionary.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/global_env.cpp b/runtime/global_env.cpp index 282997298..13c788678 100644 --- a/runtime/global_env.cpp +++ b/runtime/global_env.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/global_env.h b/runtime/global_env.h index a80e1b76c..d662a59f6 100644 --- a/runtime/global_env.h +++ b/runtime/global_env.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/global_env_constants-inl.h b/runtime/global_env_constants-inl.h index 8607a738d..1d7a7b4b4 100644 --- a/runtime/global_env_constants-inl.h +++ b/runtime/global_env_constants-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/global_env_constants.cpp b/runtime/global_env_constants.cpp index aa2d9f96e..c54bfe7d5 100644 --- a/runtime/global_env_constants.cpp +++ b/runtime/global_env_constants.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/global_env_constants.h b/runtime/global_env_constants.h index ae7860fa7..0477d3d7d 100644 --- a/runtime/global_env_constants.h +++ b/runtime/global_env_constants.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/global_handle_collection.h b/runtime/global_handle_collection.h index f87d88311..2c2d6c58a 100644 --- a/runtime/global_handle_collection.h +++ b/runtime/global_handle_collection.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/handle_storage_check.h b/runtime/handle_storage_check.h index 189f88ee4..f3426c086 100644 --- a/runtime/handle_storage_check.h +++ b/runtime/handle_storage_check.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2023 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/ic_binary_op-inl.h b/runtime/ic/ic_binary_op-inl.h index 4b49c2619..e3ab57333 100644 --- a/runtime/ic/ic_binary_op-inl.h +++ b/runtime/ic/ic_binary_op-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/ic_binary_op.h b/runtime/ic/ic_binary_op.h index ea41abb0b..990a4c76e 100644 --- a/runtime/ic/ic_binary_op.h +++ b/runtime/ic/ic_binary_op.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/ic_compare_op.cpp b/runtime/ic/ic_compare_op.cpp index f3db73bf4..46e96427e 100644 --- a/runtime/ic/ic_compare_op.cpp +++ b/runtime/ic/ic_compare_op.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/ic_compare_op.h b/runtime/ic/ic_compare_op.h index 43bea176f..bf882833e 100644 --- a/runtime/ic/ic_compare_op.h +++ b/runtime/ic/ic_compare_op.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/ic_handler-inl.h b/runtime/ic/ic_handler-inl.h index ad87126ca..b8bb85afa 100644 --- a/runtime/ic/ic_handler-inl.h +++ b/runtime/ic/ic_handler-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/ic_handler.h b/runtime/ic/ic_handler.h index bbbcbfaa5..757b0195a 100644 --- a/runtime/ic/ic_handler.h +++ b/runtime/ic/ic_handler.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/ic_runtime.cpp b/runtime/ic/ic_runtime.cpp index 08cc45913..aac47f23b 100644 --- a/runtime/ic/ic_runtime.cpp +++ b/runtime/ic/ic_runtime.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/ic_runtime.h b/runtime/ic/ic_runtime.h index 066a37d97..232235bf7 100644 --- a/runtime/ic/ic_runtime.h +++ b/runtime/ic/ic_runtime.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/ic_runtime_stub-inl.h b/runtime/ic/ic_runtime_stub-inl.h index b5d776f80..f15440d2b 100644 --- a/runtime/ic/ic_runtime_stub-inl.h +++ b/runtime/ic/ic_runtime_stub-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/ic_runtime_stub.cpp b/runtime/ic/ic_runtime_stub.cpp index 9012b4055..5a86717b8 100644 --- a/runtime/ic/ic_runtime_stub.cpp +++ b/runtime/ic/ic_runtime_stub.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/ic_runtime_stub.h b/runtime/ic/ic_runtime_stub.h index 99d0de028..3221545d1 100644 --- a/runtime/ic/ic_runtime_stub.h +++ b/runtime/ic/ic_runtime_stub.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/invoke_cache.h b/runtime/ic/invoke_cache.h index 5fb1747dd..518dfaae6 100644 --- a/runtime/ic/invoke_cache.h +++ b/runtime/ic/invoke_cache.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/profile_type_info.cpp b/runtime/ic/profile_type_info.cpp index 4d372371f..37e20004d 100644 --- a/runtime/ic/profile_type_info.cpp +++ b/runtime/ic/profile_type_info.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/profile_type_info.h b/runtime/ic/profile_type_info.h index 35fd01e24..b074be7e4 100644 --- a/runtime/ic/profile_type_info.h +++ b/runtime/ic/profile_type_info.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/properties_cache-inl.h b/runtime/ic/properties_cache-inl.h index 8224a727b..b9c1e9668 100644 --- a/runtime/ic/properties_cache-inl.h +++ b/runtime/ic/properties_cache-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/properties_cache.h b/runtime/ic/properties_cache.h index 19d5a6221..262c2bf35 100644 --- a/runtime/ic/properties_cache.h +++ b/runtime/ic/properties_cache.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/property_box.cpp b/runtime/ic/property_box.cpp index 05067a2d2..dc157134e 100644 --- a/runtime/ic/property_box.cpp +++ b/runtime/ic/property_box.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/property_box.h b/runtime/ic/property_box.h index c5c871195..1c5858511 100644 --- a/runtime/ic/property_box.h +++ b/runtime/ic/property_box.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/proto_change_details.cpp b/runtime/ic/proto_change_details.cpp index 83f21f646..8c227cb73 100644 --- a/runtime/ic/proto_change_details.cpp +++ b/runtime/ic/proto_change_details.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/ic/proto_change_details.h b/runtime/ic/proto_change_details.h index a3ad1adab..cd4fbe516 100644 --- a/runtime/ic/proto_change_details.h +++ b/runtime/ic/proto_change_details.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/internal_call_params.cpp b/runtime/internal_call_params.cpp index d305ad648..7fddcdd03 100644 --- a/runtime/internal_call_params.cpp +++ b/runtime/internal_call_params.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/internal_call_params.h b/runtime/internal_call_params.h index dccb6791a..ce21fa49f 100644 --- a/runtime/internal_call_params.h +++ b/runtime/internal_call_params.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/interpreter/fast_runtime_stub-inl.h b/runtime/interpreter/fast_runtime_stub-inl.h index 672c418aa..b41716402 100644 --- a/runtime/interpreter/fast_runtime_stub-inl.h +++ b/runtime/interpreter/fast_runtime_stub-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/interpreter/fast_runtime_stub.h b/runtime/interpreter/fast_runtime_stub.h index 64f48d3a7..41a5c4e84 100644 --- a/runtime/interpreter/fast_runtime_stub.h +++ b/runtime/interpreter/fast_runtime_stub.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/interpreter/interpreter.h b/runtime/interpreter/interpreter.h index 62dfe5698..73627f02a 100644 --- a/runtime/interpreter/interpreter.h +++ b/runtime/interpreter/interpreter.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/interpreter/slow_runtime_helper.cpp b/runtime/interpreter/slow_runtime_helper.cpp index 37ee34601..cf74c0c21 100644 --- a/runtime/interpreter/slow_runtime_helper.cpp +++ b/runtime/interpreter/slow_runtime_helper.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/interpreter/slow_runtime_helper.h b/runtime/interpreter/slow_runtime_helper.h index 0a6f7d5e5..e5b7e9fb8 100644 --- a/runtime/interpreter/slow_runtime_helper.h +++ b/runtime/interpreter/slow_runtime_helper.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/interpreter/slow_runtime_stub.cpp b/runtime/interpreter/slow_runtime_stub.cpp index 21f4b880d..14633c145 100644 --- a/runtime/interpreter/slow_runtime_stub.cpp +++ b/runtime/interpreter/slow_runtime_stub.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/interpreter/slow_runtime_stub.h b/runtime/interpreter/slow_runtime_stub.h index f6cb8838a..7b0754e7c 100644 --- a/runtime/interpreter/slow_runtime_stub.h +++ b/runtime/interpreter/slow_runtime_stub.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/intrinsics-inl.h b/runtime/intrinsics-inl.h index 8ad484380..20927fe75 100644 --- a/runtime/intrinsics-inl.h +++ b/runtime/intrinsics-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/jobs/micro_job_queue.cpp b/runtime/jobs/micro_job_queue.cpp index e4358c617..537d606ac 100644 --- a/runtime/jobs/micro_job_queue.cpp +++ b/runtime/jobs/micro_job_queue.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/jobs/micro_job_queue.h b/runtime/jobs/micro_job_queue.h index 1b7bd2f4b..9ee2c61ed 100644 --- a/runtime/jobs/micro_job_queue.h +++ b/runtime/jobs/micro_job_queue.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/jobs/pending_job.h b/runtime/jobs/pending_job.h index 51f85fe6a..a6b0c296a 100644 --- a/runtime/jobs/pending_job.h +++ b/runtime/jobs/pending_job.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_arguments.cpp b/runtime/js_arguments.cpp index 23807f20b..4e9bb28a2 100644 --- a/runtime/js_arguments.cpp +++ b/runtime/js_arguments.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_arguments.h b/runtime/js_arguments.h index 405e6b49f..0be66a684 100644 --- a/runtime/js_arguments.h +++ b/runtime/js_arguments.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_array.cpp b/runtime/js_array.cpp index b951bff05..174ddcac0 100644 --- a/runtime/js_array.cpp +++ b/runtime/js_array.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_array.h b/runtime/js_array.h index f62dd72ff..bf71b5de0 100644 --- a/runtime/js_array.h +++ b/runtime/js_array.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_array_iterator.cpp b/runtime/js_array_iterator.cpp index f258f4132..2979db48b 100644 --- a/runtime/js_array_iterator.cpp +++ b/runtime/js_array_iterator.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_array_iterator.h b/runtime/js_array_iterator.h index d87680bcc..c47c29464 100644 --- a/runtime/js_array_iterator.h +++ b/runtime/js_array_iterator.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_arraybuffer.cpp b/runtime/js_arraybuffer.cpp index c723ef4c0..ea98b7ad7 100644 --- a/runtime/js_arraybuffer.cpp +++ b/runtime/js_arraybuffer.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_arraybuffer.h b/runtime/js_arraybuffer.h index a3de57f24..58f5420f3 100644 --- a/runtime/js_arraybuffer.h +++ b/runtime/js_arraybuffer.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_arraylist.cpp b/runtime/js_arraylist.cpp index 9bfb02ebf..8e5c993e1 100644 --- a/runtime/js_arraylist.cpp +++ b/runtime/js_arraylist.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_arraylist.h b/runtime/js_arraylist.h index 6b3295789..e501bd0dd 100644 --- a/runtime/js_arraylist.h +++ b/runtime/js_arraylist.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_async_from_sync_iterator_object.cpp b/runtime/js_async_from_sync_iterator_object.cpp index f1e990b11..78a234632 100644 --- a/runtime/js_async_from_sync_iterator_object.cpp +++ b/runtime/js_async_from_sync_iterator_object.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) Huawei Technologies Co., Ltd. 2019-2021. All rights reserved. * Description: */ diff --git a/runtime/js_async_from_sync_iterator_object.h b/runtime/js_async_from_sync_iterator_object.h index 0948ba22a..348b1e5ae 100644 --- a/runtime/js_async_from_sync_iterator_object.h +++ b/runtime/js_async_from_sync_iterator_object.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) Huawei Technologies Co., Ltd. 2019-2021. All rights reserved. * Description: */ diff --git a/runtime/js_async_function.cpp b/runtime/js_async_function.cpp index ef93c5318..f46d17e01 100644 --- a/runtime/js_async_function.cpp +++ b/runtime/js_async_function.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_async_function.h b/runtime/js_async_function.h index eec0cb06b..d33e14294 100644 --- a/runtime/js_async_function.h +++ b/runtime/js_async_function.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_async_generator_object.cpp b/runtime/js_async_generator_object.cpp index 4b6ffbca9..14cf2d747 100644 --- a/runtime/js_async_generator_object.cpp +++ b/runtime/js_async_generator_object.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) Huawei Technologies Co., Ltd. 2019-2021. All rights reserved. * Description: */ diff --git a/runtime/js_async_generator_object.h b/runtime/js_async_generator_object.h index 6fd0bcf82..167132713 100644 --- a/runtime/js_async_generator_object.h +++ b/runtime/js_async_generator_object.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) Huawei Technologies Co., Ltd. 2019-2021. All rights reserved. * Description: */ diff --git a/runtime/js_bigint.cpp b/runtime/js_bigint.cpp index 6ffb50c5d..0e976b122 100644 --- a/runtime/js_bigint.cpp +++ b/runtime/js_bigint.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_bigint.h b/runtime/js_bigint.h index 03222dc99..ed84a604f 100644 --- a/runtime/js_bigint.h +++ b/runtime/js_bigint.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_collator.cpp b/runtime/js_collator.cpp index 2c4ec7ab6..c2d645ec4 100644 --- a/runtime/js_collator.cpp +++ b/runtime/js_collator.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_collator.h b/runtime/js_collator.h index 77f0eed08..9e5ffe763 100644 --- a/runtime/js_collator.h +++ b/runtime/js_collator.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_dataview.cpp b/runtime/js_dataview.cpp index 7f77901e8..fcde3874b 100644 --- a/runtime/js_dataview.cpp +++ b/runtime/js_dataview.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_dataview.h b/runtime/js_dataview.h index 1517016be..e76b41f7a 100644 --- a/runtime/js_dataview.h +++ b/runtime/js_dataview.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_date.cpp b/runtime/js_date.cpp index ffb49cc0e..aefcc477a 100644 --- a/runtime/js_date.cpp +++ b/runtime/js_date.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_date.h b/runtime/js_date.h index ab2411a92..4a17c0b88 100644 --- a/runtime/js_date.h +++ b/runtime/js_date.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_date_time_format.cpp b/runtime/js_date_time_format.cpp index 1ea09c333..775de2205 100644 --- a/runtime/js_date_time_format.cpp +++ b/runtime/js_date_time_format.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_date_time_format.h b/runtime/js_date_time_format.h index b439e5562..f165fff02 100644 --- a/runtime/js_date_time_format.h +++ b/runtime/js_date_time_format.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_eval.cpp b/runtime/js_eval.cpp index 9d7672061..ebbee0d5d 100644 --- a/runtime/js_eval.cpp +++ b/runtime/js_eval.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_eval.h b/runtime/js_eval.h index 5dad1270a..98f8b6720 100644 --- a/runtime/js_eval.h +++ b/runtime/js_eval.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_finalization_registry.cpp b/runtime/js_finalization_registry.cpp index bb5333608..04b3abf39 100644 --- a/runtime/js_finalization_registry.cpp +++ b/runtime/js_finalization_registry.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_finalization_registry.h b/runtime/js_finalization_registry.h index 59522b340..f6567d594 100644 --- a/runtime/js_finalization_registry.h +++ b/runtime/js_finalization_registry.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_for_in_iterator.cpp b/runtime/js_for_in_iterator.cpp index da08720fd..109527f74 100644 --- a/runtime/js_for_in_iterator.cpp +++ b/runtime/js_for_in_iterator.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_for_in_iterator.h b/runtime/js_for_in_iterator.h index 4fc14bfdd..daad73ee6 100644 --- a/runtime/js_for_in_iterator.h +++ b/runtime/js_for_in_iterator.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_function.cpp b/runtime/js_function.cpp index cf79533d1..14df43f4d 100644 --- a/runtime/js_function.cpp +++ b/runtime/js_function.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_function.h b/runtime/js_function.h index eb977f082..f1c5afc86 100644 --- a/runtime/js_function.h +++ b/runtime/js_function.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_function_extra_info.h b/runtime/js_function_extra_info.h index d9fc06c2d..3649753ed 100644 --- a/runtime/js_function_extra_info.h +++ b/runtime/js_function_extra_info.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_function_kind.h b/runtime/js_function_kind.h index b1eae5cb5..66f71bf82 100644 --- a/runtime/js_function_kind.h +++ b/runtime/js_function_kind.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_generator_object.cpp b/runtime/js_generator_object.cpp index 9ae8bd019..b6de57714 100644 --- a/runtime/js_generator_object.cpp +++ b/runtime/js_generator_object.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_generator_object.h b/runtime/js_generator_object.h index 92e9b2403..a4c1f3386 100644 --- a/runtime/js_generator_object.h +++ b/runtime/js_generator_object.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_global_object.h b/runtime/js_global_object.h index fa6fa148f..482fb9509 100644 --- a/runtime/js_global_object.h +++ b/runtime/js_global_object.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_handle.h b/runtime/js_handle.h index 9a42105bd..59c1eb553 100644 --- a/runtime/js_handle.h +++ b/runtime/js_handle.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -138,9 +138,7 @@ private: friend class GlobalHandleCollection; }; -/** - * A function for wrapping a local primitive TaggedValue into JSHAndle. - */ +/// A function for wrapping a local primitive TaggedValue into JSHAndle. inline JSHandle HandleFromLocal(const JSTaggedValue *value) { ASSERT(value->IsNumber() || value->IsBoolean() || value->IsException() || value->IsUndefined() || value->IsNull() || diff --git a/runtime/js_hclass-inl.h b/runtime/js_hclass-inl.h index 20ea139da..018339ec2 100644 --- a/runtime/js_hclass-inl.h +++ b/runtime/js_hclass-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_hclass.cpp b/runtime/js_hclass.cpp index 7d6ad5055..aaf6847bc 100644 --- a/runtime/js_hclass.cpp +++ b/runtime/js_hclass.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_hclass.h b/runtime/js_hclass.h index 016c1a064..72665c655 100644 --- a/runtime/js_hclass.h +++ b/runtime/js_hclass.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_intl.h b/runtime/js_intl.h index ce107d052..2b7ab20dd 100644 --- a/runtime/js_intl.h +++ b/runtime/js_intl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_invoker.cpp b/runtime/js_invoker.cpp index d42515eb1..595a4f00a 100644 --- a/runtime/js_invoker.cpp +++ b/runtime/js_invoker.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_invoker.h b/runtime/js_invoker.h index 1db795f79..64a3a4860 100644 --- a/runtime/js_invoker.h +++ b/runtime/js_invoker.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_iterator.cpp b/runtime/js_iterator.cpp index 822c29e6b..a83d8d4a5 100644 --- a/runtime/js_iterator.cpp +++ b/runtime/js_iterator.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_iterator.h b/runtime/js_iterator.h index 75fb44c68..dd440f9e7 100644 --- a/runtime/js_iterator.h +++ b/runtime/js_iterator.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_locale.cpp b/runtime/js_locale.cpp index bc84b5c6a..d40a5d298 100644 --- a/runtime/js_locale.cpp +++ b/runtime/js_locale.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_locale.h b/runtime/js_locale.h index bb0e3e01d..ea25debd0 100644 --- a/runtime/js_locale.h +++ b/runtime/js_locale.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_map.cpp b/runtime/js_map.cpp index b86b61b09..39cd41687 100644 --- a/runtime/js_map.cpp +++ b/runtime/js_map.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_map.h b/runtime/js_map.h index c7ad40534..3ee2fac87 100644 --- a/runtime/js_map.h +++ b/runtime/js_map.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_map_iterator.cpp b/runtime/js_map_iterator.cpp index 6c14ec69b..44a6b3b7c 100644 --- a/runtime/js_map_iterator.cpp +++ b/runtime/js_map_iterator.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_map_iterator.h b/runtime/js_map_iterator.h index 5a7973376..77b47e6d1 100644 --- a/runtime/js_map_iterator.h +++ b/runtime/js_map_iterator.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_method.cpp b/runtime/js_method.cpp index 2acf2ac6f..6965d7f61 100644 --- a/runtime/js_method.cpp +++ b/runtime/js_method.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_method.h b/runtime/js_method.h index b16507aaa..8c5029204 100644 --- a/runtime/js_method.h +++ b/runtime/js_method.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_native_pointer.h b/runtime/js_native_pointer.h index ccf9949b2..62c8890ed 100644 --- a/runtime/js_native_pointer.h +++ b/runtime/js_native_pointer.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_number_format.cpp b/runtime/js_number_format.cpp index 6339e2011..c7efb90e9 100644 --- a/runtime/js_number_format.cpp +++ b/runtime/js_number_format.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_number_format.h b/runtime/js_number_format.h index 3b81403b4..6cd901f6b 100644 --- a/runtime/js_number_format.h +++ b/runtime/js_number_format.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_object-inl.h b/runtime/js_object-inl.h index 6bfced703..c838b0216 100644 --- a/runtime/js_object-inl.h +++ b/runtime/js_object-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_object.cpp b/runtime/js_object.cpp index dd6af5e46..3da751356 100644 --- a/runtime/js_object.cpp +++ b/runtime/js_object.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_object.h b/runtime/js_object.h index 0ffdaa8f0..0c81d8afe 100644 --- a/runtime/js_object.h +++ b/runtime/js_object.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_plural_rules.cpp b/runtime/js_plural_rules.cpp index b6005df29..a641bc6b8 100644 --- a/runtime/js_plural_rules.cpp +++ b/runtime/js_plural_rules.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_plural_rules.h b/runtime/js_plural_rules.h index 9412f1b16..1c590829f 100644 --- a/runtime/js_plural_rules.h +++ b/runtime/js_plural_rules.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_primitive_ref.cpp b/runtime/js_primitive_ref.cpp index 3828efa25..c2290a272 100644 --- a/runtime/js_primitive_ref.cpp +++ b/runtime/js_primitive_ref.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_primitive_ref.h b/runtime/js_primitive_ref.h index 1fddcafe9..624e2a319 100644 --- a/runtime/js_primitive_ref.h +++ b/runtime/js_primitive_ref.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_promise.cpp b/runtime/js_promise.cpp index 92ed1e213..2209ae09d 100644 --- a/runtime/js_promise.cpp +++ b/runtime/js_promise.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_promise.h b/runtime/js_promise.h index ee633f477..15fd6c797 100644 --- a/runtime/js_promise.h +++ b/runtime/js_promise.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_proxy.cpp b/runtime/js_proxy.cpp index efd53c073..bcf17d21a 100644 --- a/runtime/js_proxy.cpp +++ b/runtime/js_proxy.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_proxy.h b/runtime/js_proxy.h index 632fdc7df..1256bee34 100644 --- a/runtime/js_proxy.h +++ b/runtime/js_proxy.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_realm.h b/runtime/js_realm.h index 293290700..e3002074e 100644 --- a/runtime/js_realm.h +++ b/runtime/js_realm.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_regexp.h b/runtime/js_regexp.h index e4f6a757a..f54bae475 100644 --- a/runtime/js_regexp.h +++ b/runtime/js_regexp.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_regexp_iterator.cpp b/runtime/js_regexp_iterator.cpp index 61eb893be..90ce22ccd 100644 --- a/runtime/js_regexp_iterator.cpp +++ b/runtime/js_regexp_iterator.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_regexp_iterator.h b/runtime/js_regexp_iterator.h index c176c9d17..7ffe3142b 100644 --- a/runtime/js_regexp_iterator.h +++ b/runtime/js_regexp_iterator.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_relative_time_format.cpp b/runtime/js_relative_time_format.cpp index e8357bb29..86bc1b6d0 100644 --- a/runtime/js_relative_time_format.cpp +++ b/runtime/js_relative_time_format.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_relative_time_format.h b/runtime/js_relative_time_format.h index bd9e7b0dd..b13fe5f24 100644 --- a/runtime/js_relative_time_format.h +++ b/runtime/js_relative_time_format.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_runtime_options.h b/runtime/js_runtime_options.h index 8eb470b4a..ae47bc276 100644 --- a/runtime/js_runtime_options.h +++ b/runtime/js_runtime_options.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_serializer.cpp b/runtime/js_serializer.cpp index 418e79f59..447e1a1df 100644 --- a/runtime/js_serializer.cpp +++ b/runtime/js_serializer.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_serializer.h b/runtime/js_serializer.h index 975dd9b70..8de592caf 100644 --- a/runtime/js_serializer.h +++ b/runtime/js_serializer.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_set.cpp b/runtime/js_set.cpp index 734b0996a..492a791f4 100644 --- a/runtime/js_set.cpp +++ b/runtime/js_set.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_set.h b/runtime/js_set.h index 0e478d88a..3ae00bd45 100644 --- a/runtime/js_set.h +++ b/runtime/js_set.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_set_iterator.cpp b/runtime/js_set_iterator.cpp index 3bc404db4..3bdf98ce3 100644 --- a/runtime/js_set_iterator.cpp +++ b/runtime/js_set_iterator.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_set_iterator.h b/runtime/js_set_iterator.h index 6746b59a8..085154a8d 100644 --- a/runtime/js_set_iterator.h +++ b/runtime/js_set_iterator.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_stable_array.cpp b/runtime/js_stable_array.cpp index ff9f1ec85..6c5d6800e 100644 --- a/runtime/js_stable_array.cpp +++ b/runtime/js_stable_array.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_stable_array.h b/runtime/js_stable_array.h index 14adba4c9..c2c7b3f16 100644 --- a/runtime/js_stable_array.h +++ b/runtime/js_stable_array.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_string_iterator.cpp b/runtime/js_string_iterator.cpp index ef044cdbb..8253e2be3 100644 --- a/runtime/js_string_iterator.cpp +++ b/runtime/js_string_iterator.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_string_iterator.h b/runtime/js_string_iterator.h index 95e413a1f..9e0ff8f76 100644 --- a/runtime/js_string_iterator.h +++ b/runtime/js_string_iterator.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_symbol.h b/runtime/js_symbol.h index 407b90015..91244f784 100644 --- a/runtime/js_symbol.h +++ b/runtime/js_symbol.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_tagged_number.h b/runtime/js_tagged_number.h index 9209bef1d..cbf56bd0f 100644 --- a/runtime/js_tagged_number.h +++ b/runtime/js_tagged_number.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_tagged_value-inl.h b/runtime/js_tagged_value-inl.h index d5052faa2..a88db2b79 100644 --- a/runtime/js_tagged_value-inl.h +++ b/runtime/js_tagged_value-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_tagged_value.cpp b/runtime/js_tagged_value.cpp index 1171a1121..2e3490ce9 100644 --- a/runtime/js_tagged_value.cpp +++ b/runtime/js_tagged_value.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_tagged_value.h b/runtime/js_tagged_value.h index 970bd94fa..51ad60d0a 100644 --- a/runtime/js_tagged_value.h +++ b/runtime/js_tagged_value.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_thread.cpp b/runtime/js_thread.cpp index 9101caa20..9025e7bc4 100644 --- a/runtime/js_thread.cpp +++ b/runtime/js_thread.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_thread.h b/runtime/js_thread.h index 4e334bee0..387bd2d63 100644 --- a/runtime/js_thread.h +++ b/runtime/js_thread.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_typed_array.cpp b/runtime/js_typed_array.cpp index 39d26a9f4..d9604c029 100644 --- a/runtime/js_typed_array.cpp +++ b/runtime/js_typed_array.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_typed_array.h b/runtime/js_typed_array.h index 64e4d0cfd..af042e9c7 100644 --- a/runtime/js_typed_array.h +++ b/runtime/js_typed_array.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_weak_container.cpp b/runtime/js_weak_container.cpp index fb86b5f4d..c574465ad 100644 --- a/runtime/js_weak_container.cpp +++ b/runtime/js_weak_container.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/js_weak_container.h b/runtime/js_weak_container.h index 43d5fcd12..2d47ca99c 100644 --- a/runtime/js_weak_container.h +++ b/runtime/js_weak_container.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/layout_info-inl.h b/runtime/layout_info-inl.h index b3f77fce0..36907cc87 100644 --- a/runtime/layout_info-inl.h +++ b/runtime/layout_info-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/layout_info.cpp b/runtime/layout_info.cpp index 2f7f49266..83eeb3224 100644 --- a/runtime/layout_info.cpp +++ b/runtime/layout_info.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/layout_info.h b/runtime/layout_info.h index 024c82a94..1f0148dfc 100644 --- a/runtime/layout_info.h +++ b/runtime/layout_info.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/lexical_env.h b/runtime/lexical_env.h index 300bdf0cd..f676cba3d 100644 --- a/runtime/lexical_env.h +++ b/runtime/lexical_env.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/linked_hash_table-inl.h b/runtime/linked_hash_table-inl.h index 542a2b1b4..6b1edf039 100644 --- a/runtime/linked_hash_table-inl.h +++ b/runtime/linked_hash_table-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/linked_hash_table.cpp b/runtime/linked_hash_table.cpp index 0ab950529..6658faaeb 100644 --- a/runtime/linked_hash_table.cpp +++ b/runtime/linked_hash_table.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/linked_hash_table.h b/runtime/linked_hash_table.h index 18f8d617b..be67af0e4 100644 --- a/runtime/linked_hash_table.h +++ b/runtime/linked_hash_table.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,7 +29,7 @@ namespace panda::ecmascript { * 2.array[3,3+capacity] is buckets which store the position of entry * 3.array[3+capacity+1,3+capacity + capacity*(entry_size+1)] is the entry stored in order, the last element of an entry * is a number which point to next entry. - * */ + */ template class LinkedHashTable : public TaggedArray { public: diff --git a/runtime/literal_data_extractor.cpp b/runtime/literal_data_extractor.cpp index d3fc93cc2..393ed8075 100644 --- a/runtime/literal_data_extractor.cpp +++ b/runtime/literal_data_extractor.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/literal_data_extractor.h b/runtime/literal_data_extractor.h index 5ef5938a6..ef036ab3c 100644 --- a/runtime/literal_data_extractor.h +++ b/runtime/literal_data_extractor.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/mem/barriers-inl.h b/runtime/mem/barriers-inl.h index bca257112..f0cd825f2 100644 --- a/runtime/mem/barriers-inl.h +++ b/runtime/mem/barriers-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/mem/barriers.h b/runtime/mem/barriers.h index 8b35f3130..7049e047d 100644 --- a/runtime/mem/barriers.h +++ b/runtime/mem/barriers.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/mem/ecma_reference_processor.cpp b/runtime/mem/ecma_reference_processor.cpp index ea1db0a42..ca91e3689 100644 --- a/runtime/mem/ecma_reference_processor.cpp +++ b/runtime/mem/ecma_reference_processor.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/mem/ecma_reference_processor.h b/runtime/mem/ecma_reference_processor.h index 2fe3ed65b..b1c8c60fd 100644 --- a/runtime/mem/ecma_reference_processor.h +++ b/runtime/mem/ecma_reference_processor.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,9 +33,7 @@ class EcmaVM; namespace panda::mem::ecmascript { -/** - * Mechanism for processing JS weak references - */ +/// Mechanism for processing JS weak references class EcmaReferenceProcessor : public panda::mem::ReferenceProcessor { public: explicit EcmaReferenceProcessor(panda::ecmascript::EcmaVM *vm); diff --git a/runtime/mem/ecma_string.cpp b/runtime/mem/ecma_string.cpp index 3bd00e709..b2efd3142 100644 --- a/runtime/mem/ecma_string.cpp +++ b/runtime/mem/ecma_string.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/mem/ecma_string.h b/runtime/mem/ecma_string.h index 770aa266f..3e80c1071 100644 --- a/runtime/mem/ecma_string.h +++ b/runtime/mem/ecma_string.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/mem/mem.h b/runtime/mem/mem.h index 0a5d0c036..f2c411add 100644 --- a/runtime/mem/mem.h +++ b/runtime/mem/mem.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/mem/mem_manager-inl.h b/runtime/mem/mem_manager-inl.h index d425372f1..e61d31676 100644 --- a/runtime/mem/mem_manager-inl.h +++ b/runtime/mem/mem_manager-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/mem/mem_manager.cpp b/runtime/mem/mem_manager.cpp index 4776b01c0..0ab4753e0 100644 --- a/runtime/mem/mem_manager.cpp +++ b/runtime/mem/mem_manager.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/mem/mem_manager.h b/runtime/mem/mem_manager.h index 878e7b466..5cda140e9 100644 --- a/runtime/mem/mem_manager.h +++ b/runtime/mem/mem_manager.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/mem/object_xray-inl.h b/runtime/mem/object_xray-inl.h index b62ef3e9e..406ef577a 100644 --- a/runtime/mem/object_xray-inl.h +++ b/runtime/mem/object_xray-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/mem/object_xray.h b/runtime/mem/object_xray.h index 89ad5cf9d..9d855f679 100644 --- a/runtime/mem/object_xray.h +++ b/runtime/mem/object_xray.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/mem/slots.h b/runtime/mem/slots.h index d22a0f0cb..f13a8b542 100644 --- a/runtime/mem/slots.h +++ b/runtime/mem/slots.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/mem/tagged_object-inl.h b/runtime/mem/tagged_object-inl.h index 420265d71..f418ebfc7 100644 --- a/runtime/mem/tagged_object-inl.h +++ b/runtime/mem/tagged_object-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/mem/tagged_object.h b/runtime/mem/tagged_object.h index 024bf6d99..20fa7ac11 100644 --- a/runtime/mem/tagged_object.h +++ b/runtime/mem/tagged_object.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/message_string.cpp b/runtime/message_string.cpp index 06313fc3f..95bc056a8 100644 --- a/runtime/message_string.cpp +++ b/runtime/message_string.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/message_string.h b/runtime/message_string.h index 77e4f98ad..d34330d1a 100644 --- a/runtime/message_string.h +++ b/runtime/message_string.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/napi/include/jsnapi.h b/runtime/napi/include/jsnapi.h index afc9ce35f..41c762f17 100644 --- a/runtime/napi/include/jsnapi.h +++ b/runtime/napi/include/jsnapi.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/napi/jsnapi.cpp b/runtime/napi/jsnapi.cpp index 38948b67b..5b0a5d251 100644 --- a/runtime/napi/jsnapi.cpp +++ b/runtime/napi/jsnapi.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/napi/jsnapi_debugger_agent.cpp b/runtime/napi/jsnapi_debugger_agent.cpp index 987a1a1d4..7b0ccdaa5 100644 --- a/runtime/napi/jsnapi_debugger_agent.cpp +++ b/runtime/napi/jsnapi_debugger_agent.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/napi/jsnapi_debugger_agent.h b/runtime/napi/jsnapi_debugger_agent.h index 215de5be0..a6f0d38eb 100644 --- a/runtime/napi/jsnapi_debugger_agent.h +++ b/runtime/napi/jsnapi_debugger_agent.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/napi/jsnapi_helper-inl.h b/runtime/napi/jsnapi_helper-inl.h index f1869e124..c89de1dee 100644 --- a/runtime/napi/jsnapi_helper-inl.h +++ b/runtime/napi/jsnapi_helper-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/napi/jsnapi_helper.h b/runtime/napi/jsnapi_helper.h index 283d2546c..f360813a6 100644 --- a/runtime/napi/jsnapi_helper.h +++ b/runtime/napi/jsnapi_helper.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/object_factory-inl.h b/runtime/object_factory-inl.h index cba1d6317..a4b5cc152 100644 --- a/runtime/object_factory-inl.h +++ b/runtime/object_factory-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/object_factory.cpp b/runtime/object_factory.cpp index 9f4c94d51..9e1d374e4 100644 --- a/runtime/object_factory.cpp +++ b/runtime/object_factory.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/object_factory.h b/runtime/object_factory.h index e4a1f6103..fcf732f4e 100644 --- a/runtime/object_factory.h +++ b/runtime/object_factory.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/object_operator.cpp b/runtime/object_operator.cpp index e1d54bba6..4151498c7 100644 --- a/runtime/object_operator.cpp +++ b/runtime/object_operator.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/object_operator.h b/runtime/object_operator.h index 8bb3d3ec9..fb77752a2 100644 --- a/runtime/object_operator.h +++ b/runtime/object_operator.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/profiling/plugin_read_profile.h b/runtime/profiling/plugin_read_profile.h index 259b9acda..be8cd720f 100644 --- a/runtime/profiling/plugin_read_profile.h +++ b/runtime/profiling/plugin_read_profile.h @@ -1,3 +1,18 @@ + /** + * Copyright (c) 2023 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + case panda_file::SourceLang::ECMASCRIPT: { std::vector buffer {std::istreambuf_iterator(stm), std::istreambuf_iterator()}; auto container = new ecmascript::EcmaProfileContainer; diff --git a/runtime/property_attributes.h b/runtime/property_attributes.h index 190aa0fb5..19a1a849c 100644 --- a/runtime/property_attributes.h +++ b/runtime/property_attributes.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/record.h b/runtime/record.h index a83e5838a..5efeca72b 100644 --- a/runtime/record.h +++ b/runtime/record.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/regexp/regexp_executor.cpp b/runtime/regexp/regexp_executor.cpp index 5e1d4f28e..c91764e2c 100644 --- a/runtime/regexp/regexp_executor.cpp +++ b/runtime/regexp/regexp_executor.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/regexp/regexp_executor.h b/runtime/regexp/regexp_executor.h index 910d59f77..457c7bd73 100644 --- a/runtime/regexp/regexp_executor.h +++ b/runtime/regexp/regexp_executor.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/regexp/regexp_parser_cache.cpp b/runtime/regexp/regexp_parser_cache.cpp index aa44a84fd..e35fdb61d 100644 --- a/runtime/regexp/regexp_parser_cache.cpp +++ b/runtime/regexp/regexp_parser_cache.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/regexp/regexp_parser_cache.h b/runtime/regexp/regexp_parser_cache.h index 992ac7bbe..345804162 100644 --- a/runtime/regexp/regexp_parser_cache.h +++ b/runtime/regexp/regexp_parser_cache.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/runtime_call_id.h b/runtime/runtime_call_id.h index f5f78b9f5..5e7046c8b 100644 --- a/runtime/runtime_call_id.h +++ b/runtime/runtime_call_id.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/symbol_table-inl.h b/runtime/symbol_table-inl.h index 80a064b11..f20f2ad61 100644 --- a/runtime/symbol_table-inl.h +++ b/runtime/symbol_table-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/symbol_table.h b/runtime/symbol_table.h index 0db0b5d61..8773bff11 100644 --- a/runtime/symbol_table.h +++ b/runtime/symbol_table.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/tagged_array-inl.h b/runtime/tagged_array-inl.h index 0a124cec3..15c1c39f8 100644 --- a/runtime/tagged_array-inl.h +++ b/runtime/tagged_array-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/tagged_array.h b/runtime/tagged_array.h index c84fccfec..01df2f741 100644 --- a/runtime/tagged_array.h +++ b/runtime/tagged_array.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/tagged_dictionary.cpp b/runtime/tagged_dictionary.cpp index ce676642e..7f3c34089 100644 --- a/runtime/tagged_dictionary.cpp +++ b/runtime/tagged_dictionary.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/tagged_dictionary.h b/runtime/tagged_dictionary.h index 5721d0014..cd4c62157 100644 --- a/runtime/tagged_dictionary.h +++ b/runtime/tagged_dictionary.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/tagged_hash_table-inl.h b/runtime/tagged_hash_table-inl.h index 9c25878a6..24d2d87f1 100644 --- a/runtime/tagged_hash_table-inl.h +++ b/runtime/tagged_hash_table-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/tagged_hash_table.h b/runtime/tagged_hash_table.h index 4b02a19b0..e9ee251b6 100644 --- a/runtime/tagged_hash_table.h +++ b/runtime/tagged_hash_table.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/tagged_queue-inl.h b/runtime/tagged_queue-inl.h index b5200b22c..8fdb48df8 100644 --- a/runtime/tagged_queue-inl.h +++ b/runtime/tagged_queue-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/tagged_queue.h b/runtime/tagged_queue.h index 790b00962..fb0d065bf 100644 --- a/runtime/tagged_queue.h +++ b/runtime/tagged_queue.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/template_map.h b/runtime/template_map.h index 8beba701f..48fadccba 100644 --- a/runtime/template_map.h +++ b/runtime/template_map.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/template_string.cpp b/runtime/template_string.cpp index f60737e20..c2f1f8538 100644 --- a/runtime/template_string.cpp +++ b/runtime/template_string.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/template_string.h b/runtime/template_string.h index 812689ae5..93ea34aa8 100644 --- a/runtime/template_string.h +++ b/runtime/template_string.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/tooling/pt_ecmascript_extension.cpp b/runtime/tooling/pt_ecmascript_extension.cpp index bdc353fbe..3f943542b 100644 --- a/runtime/tooling/pt_ecmascript_extension.cpp +++ b/runtime/tooling/pt_ecmascript_extension.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/tooling/pt_js_extractor.h b/runtime/tooling/pt_js_extractor.h index 702cfcf71..69dbbfc50 100644 --- a/runtime/tooling/pt_js_extractor.h +++ b/runtime/tooling/pt_js_extractor.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/transitions_dictionary.h b/runtime/transitions_dictionary.h index d92afe288..c33966a9c 100644 --- a/runtime/transitions_dictionary.h +++ b/runtime/transitions_dictionary.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/vmstat/caller_stat.cpp b/runtime/vmstat/caller_stat.cpp index e89e47346..1983d95de 100644 --- a/runtime/vmstat/caller_stat.cpp +++ b/runtime/vmstat/caller_stat.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/vmstat/caller_stat.h b/runtime/vmstat/caller_stat.h index c6eb71420..8712ef89e 100644 --- a/runtime/vmstat/caller_stat.h +++ b/runtime/vmstat/caller_stat.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/vmstat/runtime_stat.cpp b/runtime/vmstat/runtime_stat.cpp index 39d86fbca..85baa062b 100644 --- a/runtime/vmstat/runtime_stat.cpp +++ b/runtime/vmstat/runtime_stat.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/vmstat/runtime_stat.h b/runtime/vmstat/runtime_stat.h index 1d278c656..f62c09d9f 100644 --- a/runtime/vmstat/runtime_stat.h +++ b/runtime/vmstat/runtime_stat.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/weak_vector-inl.h b/runtime/weak_vector-inl.h index 1aa93ab0b..3a0ab9e4a 100644 --- a/runtime/weak_vector-inl.h +++ b/runtime/weak_vector-inl.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/weak_vector.cpp b/runtime/weak_vector.cpp index 48c00e643..688820c37 100644 --- a/runtime/weak_vector.cpp +++ b/runtime/weak_vector.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/runtime/weak_vector.h b/runtime/weak_vector.h index 645d4b88c..12eeda9be 100644 --- a/runtime/weak_vector.h +++ b/runtime/weak_vector.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/assembler/emitter_test_ecmascript.cpp b/tests/assembler/emitter_test_ecmascript.cpp index db8e18ddb..fc7d5306e 100644 --- a/tests/assembler/emitter_test_ecmascript.cpp +++ b/tests/assembler/emitter_test_ecmascript.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/assembler/parser_test_ecmascript.cpp b/tests/assembler/parser_test_ecmascript.cpp index cb16db579..3f30e4d7e 100644 --- a/tests/assembler/parser_test_ecmascript.cpp +++ b/tests/assembler/parser_test_ecmascript.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/bytecode_optimizer/codegen_test_ecmascript.cpp b/tests/bytecode_optimizer/codegen_test_ecmascript.cpp index 37d16e4e2..d620d6292 100644 --- a/tests/bytecode_optimizer/codegen_test_ecmascript.cpp +++ b/tests/bytecode_optimizer/codegen_test_ecmascript.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/bytecode_optimizer/reg_encoder_test_ecmascript.cpp b/tests/bytecode_optimizer/reg_encoder_test_ecmascript.cpp index 1a210dc98..d71b2a10f 100644 --- a/tests/bytecode_optimizer/reg_encoder_test_ecmascript.cpp +++ b/tests/bytecode_optimizer/reg_encoder_test_ecmascript.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/compiler/branch_elimination_ecma_test.cpp b/tests/compiler/branch_elimination_ecma_test.cpp index 1565e80cd..2812ee4dd 100644 --- a/tests/compiler/branch_elimination_ecma_test.cpp +++ b/tests/compiler/branch_elimination_ecma_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/compiler/checks_elimination_ecma_test.cpp b/tests/compiler/checks_elimination_ecma_test.cpp index 07023d463..9f66e92f3 100644 --- a/tests/compiler/checks_elimination_ecma_test.cpp +++ b/tests/compiler/checks_elimination_ecma_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/compiler/codegen_ecma_test.cpp b/tests/compiler/codegen_ecma_test.cpp index 4b38930ca..fc6d5ceac 100644 --- a/tests/compiler/codegen_ecma_test.cpp +++ b/tests/compiler/codegen_ecma_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/compiler/inline_call_intrinsics_ecma_test.cpp b/tests/compiler/inline_call_intrinsics_ecma_test.cpp index a81968cbf..ddd850a1e 100644 --- a/tests/compiler/inline_call_intrinsics_ecma_test.cpp +++ b/tests/compiler/inline_call_intrinsics_ecma_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/compiler/inline_intrinsics_ecma_test.cpp b/tests/compiler/inline_intrinsics_ecma_test.cpp index 9b604c33b..00882cdda 100644 --- a/tests/compiler/inline_intrinsics_ecma_test.cpp +++ b/tests/compiler/inline_intrinsics_ecma_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/compiler/ir_builder_ecma_test.cpp b/tests/compiler/ir_builder_ecma_test.cpp index 9d2e39742..d7af5a8c8 100644 --- a/tests/compiler/ir_builder_ecma_test.cpp +++ b/tests/compiler/ir_builder_ecma_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/compiler/lowering_ecma_test.cpp b/tests/compiler/lowering_ecma_test.cpp index ead0edb02..554c06f26 100644 --- a/tests/compiler/lowering_ecma_test.cpp +++ b/tests/compiler/lowering_ecma_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/compiler/peepholes_ecma_test.cpp b/tests/compiler/peepholes_ecma_test.cpp index 9bf395fe7..ca676b3b1 100644 --- a/tests/compiler/peepholes_ecma_test.cpp +++ b/tests/compiler/peepholes_ecma_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/compiler/phi_type_resolving_ecma_test.cpp b/tests/compiler/phi_type_resolving_ecma_test.cpp index 9c568d809..5316caf1b 100644 --- a/tests/compiler/phi_type_resolving_ecma_test.cpp +++ b/tests/compiler/phi_type_resolving_ecma_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/compiler/unit_ecma_test.cpp b/tests/compiler/unit_ecma_test.cpp index 393ff72cb..964e8bfb0 100644 --- a/tests/compiler/unit_ecma_test.cpp +++ b/tests/compiler/unit_ecma_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/compiler/unit_ecma_test.h b/tests/compiler/unit_ecma_test.h index 13ee35f21..280b8e667 100644 --- a/tests/compiler/unit_ecma_test.h +++ b/tests/compiler/unit_ecma_test.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/compiler/vn_test_ecma.cpp b/tests/compiler/vn_test_ecma.cpp index 2953b46e7..48c309d54 100644 --- a/tests/compiler/vn_test_ecma.cpp +++ b/tests/compiler/vn_test_ecma.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_array_test.cpp b/tests/runtime/builtins/builtins_array_test.cpp index 41fda17c8..02a4c5f4b 100644 --- a/tests/runtime/builtins/builtins_array_test.cpp +++ b/tests/runtime/builtins/builtins_array_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_arraybuffer_test.cpp b/tests/runtime/builtins/builtins_arraybuffer_test.cpp index 498a4a814..0257e5e7d 100644 --- a/tests/runtime/builtins/builtins_arraybuffer_test.cpp +++ b/tests/runtime/builtins/builtins_arraybuffer_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_bigint_test.cpp b/tests/runtime/builtins/builtins_bigint_test.cpp index e7c10e14e..8ce0696da 100644 --- a/tests/runtime/builtins/builtins_bigint_test.cpp +++ b/tests/runtime/builtins/builtins_bigint_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_boolean_test.cpp b/tests/runtime/builtins/builtins_boolean_test.cpp index 570246848..4c20d1bd8 100644 --- a/tests/runtime/builtins/builtins_boolean_test.cpp +++ b/tests/runtime/builtins/builtins_boolean_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_dataview_test.cpp b/tests/runtime/builtins/builtins_dataview_test.cpp index e4cfb5332..b8577dfeb 100644 --- a/tests/runtime/builtins/builtins_dataview_test.cpp +++ b/tests/runtime/builtins/builtins_dataview_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_date_test.cpp b/tests/runtime/builtins/builtins_date_test.cpp index a0e52d544..df02e021e 100644 --- a/tests/runtime/builtins/builtins_date_test.cpp +++ b/tests/runtime/builtins/builtins_date_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_errors_test.cpp b/tests/runtime/builtins/builtins_errors_test.cpp index 775698bfe..7f8176887 100644 --- a/tests/runtime/builtins/builtins_errors_test.cpp +++ b/tests/runtime/builtins/builtins_errors_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -77,18 +77,14 @@ private: */ TEST_F(BuiltinsErrorsTest, GetJSErrorObject) { - /** - * @tc.steps: step1. Create JSError object - */ + /// @tc.steps: step1. Create JSError object ObjectFactory *factory = EcmaVM::Cast(instance_)->GetFactory(); JSHandle handle_obj = factory->GetJSError(ErrorType::TYPE_ERROR); JSHandle msg_key(factory->NewFromCanBeCompressString("message")); JSHandle name_key = thread_->GlobalConstants()->GetHandledNameString(); - /** - * @tc.steps: step2. obtain JSError object prototype chain name property and message property - */ + /// @tc.steps: step2. obtain JSError object prototype chain name property and message property JSHandle msg_value( JSObject::GetProperty(thread_, JSHandle(handle_obj), msg_key).GetValue()); EXPECT_EQ(reinterpret_cast(msg_value->GetRawData()) diff --git a/tests/runtime/builtins/builtins_function_test.cpp b/tests/runtime/builtins/builtins_function_test.cpp index 4784e56ce..5e1380b64 100644 --- a/tests/runtime/builtins/builtins_function_test.cpp +++ b/tests/runtime/builtins/builtins_function_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_global_test.cpp b/tests/runtime/builtins/builtins_global_test.cpp index 95e1824f4..af9371497 100644 --- a/tests/runtime/builtins/builtins_global_test.cpp +++ b/tests/runtime/builtins/builtins_global_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_iterator_test.cpp b/tests/runtime/builtins/builtins_iterator_test.cpp index 43cd7a474..952982e2d 100644 --- a/tests/runtime/builtins/builtins_iterator_test.cpp +++ b/tests/runtime/builtins/builtins_iterator_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_json_test.cpp b/tests/runtime/builtins/builtins_json_test.cpp index b01049d58..a9aa99a08 100644 --- a/tests/runtime/builtins/builtins_json_test.cpp +++ b/tests/runtime/builtins/builtins_json_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_map_test.cpp b/tests/runtime/builtins/builtins_map_test.cpp index f1465edab..ee1835a34 100644 --- a/tests/runtime/builtins/builtins_map_test.cpp +++ b/tests/runtime/builtins/builtins_map_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_math_test.cpp b/tests/runtime/builtins/builtins_math_test.cpp index ac033ed05..a6de87eef 100644 --- a/tests/runtime/builtins/builtins_math_test.cpp +++ b/tests/runtime/builtins/builtins_math_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_number_test.cpp b/tests/runtime/builtins/builtins_number_test.cpp index 87b78e2f6..a0e69aa23 100644 --- a/tests/runtime/builtins/builtins_number_test.cpp +++ b/tests/runtime/builtins/builtins_number_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_object_test.cpp b/tests/runtime/builtins/builtins_object_test.cpp index 54648f91c..bf23711a3 100644 --- a/tests/runtime/builtins/builtins_object_test.cpp +++ b/tests/runtime/builtins/builtins_object_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_promise_test.cpp b/tests/runtime/builtins/builtins_promise_test.cpp index 5f88c9d00..1089ae8f4 100644 --- a/tests/runtime/builtins/builtins_promise_test.cpp +++ b/tests/runtime/builtins/builtins_promise_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -148,9 +148,7 @@ TEST_F(BuiltinsPromiseTest, Reject1) ecma_runtime_call_info1->SetThis(promise.GetTaggedValue()); ecma_runtime_call_info1->SetCallArg(0, param_msg.GetTaggedValue()); - /** - * @tc.steps: var p1 = Promise.reject(3). - */ + /// @tc.steps: var p1 = Promise.reject(3). [[maybe_unused]] auto prev_reject = TestHelper::SetupFrame(thread_, ecma_runtime_call_info1.get()); JSTaggedValue result = promise::Reject(ecma_runtime_call_info1.get()); JSHandle reject_promise(thread_, result); @@ -175,9 +173,7 @@ TEST_F(BuiltinsPromiseTest, Reject2) JSHandle param_msg1 = JSHandle::Cast(factory->NewFromCanBeCompressString("Promise reject")); - /** - * @tc.steps: step1. var p1 = Promise.reject("Promise reject") - */ + /// @tc.steps: step1. var p1 = Promise.reject("Promise reject") auto ecma_runtime_call_info = TestHelper::CreateEcmaRuntimeCallInfo(thread_, promise.GetTaggedValue(), 6); ecma_runtime_call_info->SetFunction(promise.GetTaggedValue()); ecma_runtime_call_info->SetThis(promise.GetTaggedValue()); @@ -191,9 +187,7 @@ TEST_F(BuiltinsPromiseTest, Reject2) true); EXPECT_EQ(JSTaggedValue::SameValue(promise1->GetPromiseResult(), param_msg1.GetTaggedValue()), true); - /** - * @tc.steps: step2. var p2 = Promise.reject(p1) - */ + /// @tc.steps: step2. var p2 = Promise.reject(p1) auto ecma_runtime_call_info1 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, promise.GetTaggedValue(), 6); ecma_runtime_call_info1->SetFunction(promise.GetTaggedValue()); ecma_runtime_call_info1->SetThis(promise.GetTaggedValue()); @@ -223,9 +217,7 @@ TEST_F(BuiltinsPromiseTest, Resolve1) JSHandle promise = JSHandle::Cast(env->GetPromiseFunction()); JSHandle param_msg(thread_, JSTaggedValue(5)); - /** - * @tc.steps: step1. var p1 = Promise.resolve(12345) - */ + /// @tc.steps: step1. var p1 = Promise.resolve(12345) auto ecma_runtime_call_info1 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValue(*promise), 6); ecma_runtime_call_info1->SetFunction(promise.GetTaggedValue()); ecma_runtime_call_info1->SetThis(promise.GetTaggedValue()); @@ -255,9 +247,7 @@ TEST_F(BuiltinsPromiseTest, Resolve2) JSHandle param_msg1 = JSHandle::Cast(factory->NewFromCanBeCompressString("Promise reject")); - /** - * @tc.steps: step1. var p1 = Promise.reject("Promise reject") - */ + /// @tc.steps: step1. var p1 = Promise.reject("Promise reject") auto ecma_runtime_call_info = TestHelper::CreateEcmaRuntimeCallInfo(thread_, promise.GetTaggedValue(), 6); ecma_runtime_call_info->SetFunction(promise.GetTaggedValue()); ecma_runtime_call_info->SetThis(promise.GetTaggedValue()); @@ -272,9 +262,7 @@ TEST_F(BuiltinsPromiseTest, Resolve2) EXPECT_EQ(JSTaggedValue::SameValue(promise1->GetPromiseResult(), param_msg1.GetTaggedValue()), true); // promise1 Enter Reject() as a parameter. - /** - * @tc.steps: step2. var p2 = Promise.resolve(p1) - */ + /// @tc.steps: step2. var p2 = Promise.resolve(p1) auto ecma_runtime_call_info1 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, promise.GetTaggedValue(), 6); ecma_runtime_call_info1->SetFunction(promise.GetTaggedValue()); ecma_runtime_call_info1->SetThis(promise.GetTaggedValue()); @@ -303,9 +291,7 @@ TEST_F(BuiltinsPromiseTest, Race1) JSHandle param_msg1(thread_, JSTaggedValue(12345)); JSHandle param_msg2(thread_, JSTaggedValue(6789)); - /** - * @tc.steps: step1. var p1 = Promise.reject(12345) - */ + /// @tc.steps: step1. var p1 = Promise.reject(12345) auto ecma_runtime_call_info1 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValue(*promise), 6); ecma_runtime_call_info1->SetFunction(promise.GetTaggedValue()); ecma_runtime_call_info1->SetThis(promise.GetTaggedValue()); @@ -319,9 +305,7 @@ TEST_F(BuiltinsPromiseTest, Race1) true); EXPECT_EQ(JSTaggedValue::SameValue(reject_promise->GetPromiseResult(), JSTaggedValue(12345)), true); - /** - * @tc.steps: step2. var p2 = Promise.resolve(6789) - */ + /// @tc.steps: step2. var p2 = Promise.resolve(6789) auto ecma_runtime_call_info2 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValue(*promise), 6); ecma_runtime_call_info2->SetFunction(promise.GetTaggedValue()); ecma_runtime_call_info2->SetThis(promise.GetTaggedValue()); @@ -335,9 +319,7 @@ TEST_F(BuiltinsPromiseTest, Race1) true); EXPECT_EQ(JSTaggedValue::SameValue(resolve_promise->GetPromiseResult(), JSTaggedValue(6789)), true); - /** - * @tc.steps: step3. Construct an array with two elements p1 and p2. array = [p1. p2] - */ + /// @tc.steps: step3. Construct an array with two elements p1 and p2. array = [p1. p2] JSHandle array(JSArray::ArrayCreate(thread_, JSTaggedNumber(2))); PropertyDescriptor desc(thread_, JSHandle::Cast(reject_promise)); JSArray::DefineOwnProperty(thread_, array, JSHandle(thread_, JSTaggedValue(0)), desc); @@ -345,9 +327,7 @@ TEST_F(BuiltinsPromiseTest, Race1) PropertyDescriptor desc1(thread_, JSHandle::Cast(resolve_promise)); JSArray::DefineOwnProperty(thread_, array, JSHandle(thread_, JSTaggedValue(1)), desc1); - /** - * @tc.steps: step4. var p3 = Promise.race([p1,p2]); - */ + /// @tc.steps: step4. var p3 = Promise.race([p1,p2]); auto ecma_runtime_call_info4 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValue(*promise), 6); ecma_runtime_call_info4->SetFunction(promise.GetTaggedValue()); ecma_runtime_call_info4->SetThis(promise.GetTaggedValue()); @@ -377,9 +357,7 @@ TEST_F(BuiltinsPromiseTest, Race2) JSHandle param_msg1(thread_, JSTaggedValue(12345)); JSHandle param_msg2(thread_, JSTaggedValue(6789)); - /** - * @tc.steps: step1. var p1 = Promise.reject(12345) - */ + /// @tc.steps: step1. var p1 = Promise.reject(12345) auto ecma_runtime_call_info1 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValue(*promise), 6); ecma_runtime_call_info1->SetFunction(promise.GetTaggedValue()); ecma_runtime_call_info1->SetThis(promise.GetTaggedValue()); @@ -393,9 +371,7 @@ TEST_F(BuiltinsPromiseTest, Race2) true); EXPECT_EQ(JSTaggedValue::SameValue(reject_promise->GetPromiseResult(), JSTaggedValue(12345)), true); - /** - * @tc.steps: step2. var p2 = Promise.resolve(6789) - */ + /// @tc.steps: step2. var p2 = Promise.resolve(6789) auto ecma_runtime_call_info2 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValue(*promise), 6); ecma_runtime_call_info2->SetFunction(promise.GetTaggedValue()); ecma_runtime_call_info2->SetThis(promise.GetTaggedValue()); @@ -409,9 +385,7 @@ TEST_F(BuiltinsPromiseTest, Race2) true); EXPECT_EQ(JSTaggedValue::SameValue(resolve_promise->GetPromiseResult(), JSTaggedValue(6789)), true); - /** - * @tc.steps: step3. Construct an array with two elements p1 and p2. array = [p1. p2] - */ + /// @tc.steps: step3. Construct an array with two elements p1 and p2. array = [p1. p2] JSHandle array(JSArray::ArrayCreate(thread_, JSTaggedNumber(2))); PropertyDescriptor desc(thread_, JSHandle::Cast(reject_promise)); JSArray::DefineOwnProperty(thread_, array, JSHandle(thread_, JSTaggedValue(0)), desc); @@ -419,9 +393,7 @@ TEST_F(BuiltinsPromiseTest, Race2) PropertyDescriptor desc1(thread_, JSHandle::Cast(resolve_promise)); JSArray::DefineOwnProperty(thread_, array, JSHandle(thread_, JSTaggedValue(1)), desc1); - /** - * @tc.steps: step4. var p3 = Promise.race([p1,p2]); - */ + /// @tc.steps: step4. var p3 = Promise.race([p1,p2]); auto ecma_runtime_call_info4 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValue(*promise), 6); ecma_runtime_call_info4->SetFunction(promise.GetTaggedValue()); ecma_runtime_call_info4->SetThis(promise.GetTaggedValue()); @@ -435,9 +407,7 @@ TEST_F(BuiltinsPromiseTest, Race2) true); EXPECT_EQ(race_promise->GetPromiseResult().IsUndefined(), true); - /** - * @tc.steps: step5. p3.then((resolve)=>{print(resolve)}, (reject)=>{print(reject)}) - */ + /// @tc.steps: step5. p3.then((resolve)=>{print(resolve)}, (reject)=>{print(reject)}) JSHandle native_func_race_then_onrejected = factory->NewJSFunction(env, reinterpret_cast(TestPromiseRaceThenOnRejectd)); auto ecma_runtime_call_info5 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, race_promise.GetTaggedValue(), 8); @@ -454,9 +424,7 @@ TEST_F(BuiltinsPromiseTest, Race2) JSTaggedValue(static_cast(PromiseStatus::PENDING)))); EXPECT_TRUE(then_promise->GetPromiseResult().IsUndefined()); - /** - * @tc.steps: step6. execute promise queue - */ + /// @tc.steps: step6. execute promise queue auto micro_job_queue = EcmaVM::Cast(instance_)->GetMicroJobQueue(); if (LIKELY(!thread_->HasPendingException())) { job::MicroJobQueue::ExecutePendingJob(thread_, micro_job_queue); @@ -478,9 +446,7 @@ TEST_F(BuiltinsPromiseTest, All) JSHandle param_msg1(thread_, JSTaggedValue(111)); JSHandle param_msg2(thread_, JSTaggedValue(222)); - /** - * @tc.steps: step1. var p1 = Promise.resolve(111) - */ + /// @tc.steps: step1. var p1 = Promise.resolve(111) auto ecma_runtime_call_info1 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValue(*promise), 6); ecma_runtime_call_info1->SetFunction(promise.GetTaggedValue()); ecma_runtime_call_info1->SetThis(promise.GetTaggedValue()); @@ -494,9 +460,7 @@ TEST_F(BuiltinsPromiseTest, All) true); EXPECT_EQ(JSTaggedValue::SameValue(resolve_promise1->GetPromiseResult(), JSTaggedValue(111)), true); - /** - * @tc.steps: step2. var p2 = Promise.resolve(222) - */ + /// @tc.steps: step2. var p2 = Promise.resolve(222) auto ecma_runtime_call_info2 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValue(*promise), 6); ecma_runtime_call_info2->SetFunction(promise.GetTaggedValue()); ecma_runtime_call_info2->SetThis(promise.GetTaggedValue()); @@ -510,9 +474,7 @@ TEST_F(BuiltinsPromiseTest, All) true); EXPECT_EQ(JSTaggedValue::SameValue(resolve_promise2->GetPromiseResult(), JSTaggedValue(222)), true); - /** - * @tc.steps: step3. Construct an array with two elements p1 and p2. array = [p1. p2] - */ + /// @tc.steps: step3. Construct an array with two elements p1 and p2. array = [p1. p2] JSHandle array(JSArray::ArrayCreate(thread_, JSTaggedNumber(2))); PropertyDescriptor desc(thread_, JSHandle::Cast(resolve_promise1)); JSArray::DefineOwnProperty(thread_, array, JSHandle(thread_, JSTaggedValue(0)), desc); @@ -520,9 +482,7 @@ TEST_F(BuiltinsPromiseTest, All) PropertyDescriptor desc1(thread_, JSHandle::Cast(resolve_promise2)); JSArray::DefineOwnProperty(thread_, array, JSHandle(thread_, JSTaggedValue(1)), desc1); - /** - * @tc.steps: step4. var p3 = Promise.all([p1,p2]); - */ + /// @tc.steps: step4. var p3 = Promise.all([p1,p2]); auto ecma_runtime_call_info4 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValue(*promise), 6); ecma_runtime_call_info4->SetFunction(promise.GetTaggedValue()); ecma_runtime_call_info4->SetThis(promise.GetTaggedValue()); @@ -536,9 +496,7 @@ TEST_F(BuiltinsPromiseTest, All) true); EXPECT_EQ(all_promise->GetPromiseResult().IsUndefined(), true); - /** - * @tc.steps: step5. p3.then((resolve)=>{print(resolve)}, (reject)=>{print(reject)}); - */ + /// @tc.steps: step5. p3.then((resolve)=>{print(resolve)}, (reject)=>{print(reject)}); JSHandle native_func_race_then_on_resolved = factory->NewJSFunction(env, reinterpret_cast(TestPromiseAllThenOnResolved)); auto ecma_runtime_call_info5 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, all_promise.GetTaggedValue(), 8); @@ -555,9 +513,7 @@ TEST_F(BuiltinsPromiseTest, All) JSTaggedValue(static_cast(PromiseStatus::PENDING)))); EXPECT_TRUE(then_promise->GetPromiseResult().IsUndefined()); - /** - * @tc.steps: step6. execute promise queue - */ + /// @tc.steps: step6. execute promise queue auto micro_job_queue = EcmaVM::Cast(instance_)->GetMicroJobQueue(); if (LIKELY(!thread_->HasPendingException())) { job::MicroJobQueue::ExecutePendingJob(thread_, micro_job_queue); @@ -577,9 +533,7 @@ TEST_F(BuiltinsPromiseTest, Catch) JSHandle promise = JSHandle::Cast(env->GetPromiseFunction()); JSHandle param_msg1(thread_, JSTaggedValue(3)); - /** - * @tc.steps: step1. var p1 = Promise.reject(3) - */ + /// @tc.steps: step1. var p1 = Promise.reject(3) auto ecma_runtime_call_info1 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValue(*promise), 6); ecma_runtime_call_info1->SetFunction(promise.GetTaggedValue()); ecma_runtime_call_info1->SetThis(promise.GetTaggedValue()); @@ -593,9 +547,7 @@ TEST_F(BuiltinsPromiseTest, Catch) true); EXPECT_EQ(JSTaggedValue::SameValue(reject_promise->GetPromiseResult(), JSTaggedValue(3)), true); - /** - * @tc.steps: step2. p1 invokes catch() - */ + /// @tc.steps: step2. p1 invokes catch() JSHandle test_promise_catch = factory->NewJSFunction(env, reinterpret_cast(TestPromiseCatch)); auto ecma_runtime_call_info2 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, reject_promise.GetTaggedValue(), 6); ecma_runtime_call_info2->SetFunction(reject_promise.GetTaggedValue()); @@ -611,9 +563,7 @@ TEST_F(BuiltinsPromiseTest, Catch) true); EXPECT_EQ(catch_promise->GetPromiseResult().IsUndefined(), true); - /** - * @tc.steps: step3. execute promise queue - */ + /// @tc.steps: step3. execute promise queue auto micro_job_queue = EcmaVM::Cast(instance_)->GetMicroJobQueue(); if (LIKELY(!thread_->HasPendingException())) { job::MicroJobQueue::ExecutePendingJob(thread_, micro_job_queue); @@ -633,9 +583,7 @@ TEST_F(BuiltinsPromiseTest, ThenResolve) JSHandle promise = JSHandle::Cast(env->GetPromiseFunction()); JSHandle param_msg = JSHandle::Cast(factory->NewFromCanBeCompressString("resolve")); - /** - * @tc.steps: step1. var p1 = Promise.resolve("resolve") - */ + /// @tc.steps: step1. var p1 = Promise.resolve("resolve") auto ecma_runtime_call_info1 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValue(*promise), 6); ecma_runtime_call_info1->SetFunction(promise.GetTaggedValue()); ecma_runtime_call_info1->SetThis(promise.GetTaggedValue()); @@ -649,9 +597,7 @@ TEST_F(BuiltinsPromiseTest, ThenResolve) true); EXPECT_EQ(JSTaggedValue::SameValue(resolve_promise->GetPromiseResult(), param_msg.GetTaggedValue()), true); - /** - * @tc.steps: step2. p1 invokes then() - */ + /// @tc.steps: step2. p1 invokes then() JSHandle test_promise_then_on_resolved = factory->NewJSFunction(env, reinterpret_cast(TestPromiseThenOnResolved)); auto ecma_runtime_call_info2 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, resolve_promise.GetTaggedValue(), 8); @@ -669,9 +615,7 @@ TEST_F(BuiltinsPromiseTest, ThenResolve) true); EXPECT_EQ(then_promise->GetPromiseResult().IsUndefined(), true); - /** - * @tc.steps: step3. execute promise queue - */ + /// @tc.steps: step3. execute promise queue auto micro_job_queue = EcmaVM::Cast(instance_)->GetMicroJobQueue(); if (LIKELY(!thread_->HasPendingException())) { job::MicroJobQueue::ExecutePendingJob(thread_, micro_job_queue); @@ -691,9 +635,7 @@ TEST_F(BuiltinsPromiseTest, ThenReject) JSHandle promise = JSHandle::Cast(env->GetPromiseFunction()); JSHandle param_msg = JSHandle::Cast(factory->NewFromCanBeCompressString("reject")); - /** - * @tc.steps: step1. var p1 = Promise.Reject(5) - */ + /// @tc.steps: step1. var p1 = Promise.Reject(5) auto ecma_runtime_call_info1 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValue(*promise), 6); ecma_runtime_call_info1->SetFunction(promise.GetTaggedValue()); ecma_runtime_call_info1->SetThis(promise.GetTaggedValue()); @@ -707,9 +649,7 @@ TEST_F(BuiltinsPromiseTest, ThenReject) true); EXPECT_EQ(JSTaggedValue::SameValue(reject_promise->GetPromiseResult(), param_msg.GetTaggedValue()), true); - /** - * @tc.steps: step1. p1 invokes then() - */ + /// @tc.steps: step1. p1 invokes then() JSHandle test_promise_then_on_rejected = factory->NewJSFunction(env, reinterpret_cast(TestPromiseThenOnRejected)); auto ecma_runtime_call_info2 = TestHelper::CreateEcmaRuntimeCallInfo(thread_, reject_promise.GetTaggedValue(), 8); @@ -726,9 +666,7 @@ TEST_F(BuiltinsPromiseTest, ThenReject) JSTaggedValue(static_cast(PromiseStatus::PENDING))), true); EXPECT_EQ(then_promise->GetPromiseResult().IsUndefined(), true); - /** - * @tc.steps: step3. execute promise queue - */ + /// @tc.steps: step3. execute promise queue auto micro_job_queue = EcmaVM::Cast(instance_)->GetMicroJobQueue(); if (LIKELY(!thread_->HasPendingException())) { job::MicroJobQueue::ExecutePendingJob(thread_, micro_job_queue); diff --git a/tests/runtime/builtins/builtins_proxy_test.cpp b/tests/runtime/builtins/builtins_proxy_test.cpp index f02b8ccd9..6fb7d0e34 100644 --- a/tests/runtime/builtins/builtins_proxy_test.cpp +++ b/tests/runtime/builtins/builtins_proxy_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_reflect_test.cpp b/tests/runtime/builtins/builtins_reflect_test.cpp index 9791befd2..441649520 100644 --- a/tests/runtime/builtins/builtins_reflect_test.cpp +++ b/tests/runtime/builtins/builtins_reflect_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_regexp_test.cpp b/tests/runtime/builtins/builtins_regexp_test.cpp index 45683e4ce..913b72147 100644 --- a/tests/runtime/builtins/builtins_regexp_test.cpp +++ b/tests/runtime/builtins/builtins_regexp_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_set_test.cpp b/tests/runtime/builtins/builtins_set_test.cpp index 0439410da..d84ea226b 100644 --- a/tests/runtime/builtins/builtins_set_test.cpp +++ b/tests/runtime/builtins/builtins_set_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_string_test.cpp b/tests/runtime/builtins/builtins_string_test.cpp index 4c7759275..c4092b53f 100644 --- a/tests/runtime/builtins/builtins_string_test.cpp +++ b/tests/runtime/builtins/builtins_string_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_symbol_test.cpp b/tests/runtime/builtins/builtins_symbol_test.cpp index 298416746..3bf4233c4 100644 --- a/tests/runtime/builtins/builtins_symbol_test.cpp +++ b/tests/runtime/builtins/builtins_symbol_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_typedarray_test.cpp b/tests/runtime/builtins/builtins_typedarray_test.cpp index 3e9ffdf92..1687b7466 100644 --- a/tests/runtime/builtins/builtins_typedarray_test.cpp +++ b/tests/runtime/builtins/builtins_typedarray_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_weak_map_test.cpp b/tests/runtime/builtins/builtins_weak_map_test.cpp index f3008cc3f..5001b1686 100644 --- a/tests/runtime/builtins/builtins_weak_map_test.cpp +++ b/tests/runtime/builtins/builtins_weak_map_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/builtins/builtins_weak_set_test.cpp b/tests/runtime/builtins/builtins_weak_set_test.cpp index 559cdf554..514cddab9 100644 --- a/tests/runtime/builtins/builtins_weak_set_test.cpp +++ b/tests/runtime/builtins/builtins_weak_set_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/builtins_test.cpp b/tests/runtime/common/builtins_test.cpp index 4aea2d3d7..871d00372 100644 --- a/tests/runtime/common/builtins_test.cpp +++ b/tests/runtime/common/builtins_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/concurrent_sweep_test.cpp b/tests/runtime/common/concurrent_sweep_test.cpp index 6fe66a394..183db55ef 100644 --- a/tests/runtime/common/concurrent_sweep_test.cpp +++ b/tests/runtime/common/concurrent_sweep_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/ecma_empty_class_check/ecma_empty_class_check.cpp b/tests/runtime/common/ecma_empty_class_check/ecma_empty_class_check.cpp index 09ef5c057..2764953c6 100644 --- a/tests/runtime/common/ecma_empty_class_check/ecma_empty_class_check.cpp +++ b/tests/runtime/common/ecma_empty_class_check/ecma_empty_class_check.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/ecma_module_test.cpp b/tests/runtime/common/ecma_module_test.cpp index d94d8ee74..d32002514 100644 --- a/tests/runtime/common/ecma_module_test.cpp +++ b/tests/runtime/common/ecma_module_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/ecma_string_test.cpp b/tests/runtime/common/ecma_string_test.cpp index f6bfa38ef..c06984c11 100644 --- a/tests/runtime/common/ecma_string_test.cpp +++ b/tests/runtime/common/ecma_string_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/gc/pending_exception_tests.cpp b/tests/runtime/common/gc/pending_exception_tests.cpp index e5c0927f7..231129c36 100644 --- a/tests/runtime/common/gc/pending_exception_tests.cpp +++ b/tests/runtime/common/gc/pending_exception_tests.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2023 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/glue_regs_test.cpp b/tests/runtime/common/glue_regs_test.cpp index 494a6b240..d65609ef2 100644 --- a/tests/runtime/common/glue_regs_test.cpp +++ b/tests/runtime/common/glue_regs_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/huge_object_test.cpp b/tests/runtime/common/huge_object_test.cpp index 611fe3517..c291ca279 100644 --- a/tests/runtime/common/huge_object_test.cpp +++ b/tests/runtime/common/huge_object_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_arguments_test.cpp b/tests/runtime/common/js_arguments_test.cpp index 0998bc4b6..10c171921 100644 --- a/tests/runtime/common/js_arguments_test.cpp +++ b/tests/runtime/common/js_arguments_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_array_iterator_test.cpp b/tests/runtime/common/js_array_iterator_test.cpp index 293e1f0d4..30c0dc80f 100644 --- a/tests/runtime/common/js_array_iterator_test.cpp +++ b/tests/runtime/common/js_array_iterator_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_array_test.cpp b/tests/runtime/common/js_array_test.cpp index 6e007f58f..fdfe1f8ec 100644 --- a/tests/runtime/common/js_array_test.cpp +++ b/tests/runtime/common/js_array_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_dataview_test.cpp b/tests/runtime/common/js_dataview_test.cpp index fde919464..56988bdb2 100644 --- a/tests/runtime/common/js_dataview_test.cpp +++ b/tests/runtime/common/js_dataview_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_date_test.cpp b/tests/runtime/common/js_date_test.cpp index b4374296d..e230f3db0 100644 --- a/tests/runtime/common/js_date_test.cpp +++ b/tests/runtime/common/js_date_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_forin_iterator_test.cpp b/tests/runtime/common/js_forin_iterator_test.cpp index 15bf7bbaa..7d4797c62 100644 --- a/tests/runtime/common/js_forin_iterator_test.cpp +++ b/tests/runtime/common/js_forin_iterator_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_function_test.cpp b/tests/runtime/common/js_function_test.cpp index e7add491e..2c2b844d1 100644 --- a/tests/runtime/common/js_function_test.cpp +++ b/tests/runtime/common/js_function_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_handle_test.cpp b/tests/runtime/common/js_handle_test.cpp index 31d27b7b6..6848c8ec2 100644 --- a/tests/runtime/common/js_handle_test.cpp +++ b/tests/runtime/common/js_handle_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_iterator_test.cpp b/tests/runtime/common/js_iterator_test.cpp index ba7be9179..69a0c9412 100644 --- a/tests/runtime/common/js_iterator_test.cpp +++ b/tests/runtime/common/js_iterator_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_map_test.cpp b/tests/runtime/common/js_map_test.cpp index 8ed3d89b4..0b9ead932 100644 --- a/tests/runtime/common/js_map_test.cpp +++ b/tests/runtime/common/js_map_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_primitive_ref_test.cpp b/tests/runtime/common/js_primitive_ref_test.cpp index a3c927e98..084383467 100644 --- a/tests/runtime/common/js_primitive_ref_test.cpp +++ b/tests/runtime/common/js_primitive_ref_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_promise_test.cpp b/tests/runtime/common/js_promise_test.cpp index d452175a8..f2258b35c 100644 --- a/tests/runtime/common/js_promise_test.cpp +++ b/tests/runtime/common/js_promise_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_proxy_test.cpp b/tests/runtime/common/js_proxy_test.cpp index b1cbf8218..baa79d02a 100644 --- a/tests/runtime/common/js_proxy_test.cpp +++ b/tests/runtime/common/js_proxy_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_serializer_test.cpp b/tests/runtime/common/js_serializer_test.cpp index 2f9f90f5b..4d4338f43 100644 --- a/tests/runtime/common/js_serializer_test.cpp +++ b/tests/runtime/common/js_serializer_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_set_iterator_test.cpp b/tests/runtime/common/js_set_iterator_test.cpp index 9fbddfddc..212730015 100644 --- a/tests/runtime/common/js_set_iterator_test.cpp +++ b/tests/runtime/common/js_set_iterator_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_set_test.cpp b/tests/runtime/common/js_set_test.cpp index e678db012..e528e193a 100644 --- a/tests/runtime/common/js_set_test.cpp +++ b/tests/runtime/common/js_set_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_symbol_test.cpp b/tests/runtime/common/js_symbol_test.cpp index e8e89a21f..344442dff 100644 --- a/tests/runtime/common/js_symbol_test.cpp +++ b/tests/runtime/common/js_symbol_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_tagged_queue_test.cpp b/tests/runtime/common/js_tagged_queue_test.cpp index 1c98e2ffc..2b4fd6c1b 100644 --- a/tests/runtime/common/js_tagged_queue_test.cpp +++ b/tests/runtime/common/js_tagged_queue_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/js_typed_array_test.cpp b/tests/runtime/common/js_typed_array_test.cpp index 0eb75e6cb..c40a9f176 100644 --- a/tests/runtime/common/js_typed_array_test.cpp +++ b/tests/runtime/common/js_typed_array_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/large_object_test.cpp b/tests/runtime/common/large_object_test.cpp index 4cb56d1a2..69a9051f8 100644 --- a/tests/runtime/common/large_object_test.cpp +++ b/tests/runtime/common/large_object_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/lexical_env_test.cpp b/tests/runtime/common/lexical_env_test.cpp index c1da36fc3..e01a15cba 100644 --- a/tests/runtime/common/lexical_env_test.cpp +++ b/tests/runtime/common/lexical_env_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/linked_hash_table_test.cpp b/tests/runtime/common/linked_hash_table_test.cpp index b086250b3..2609c558f 100644 --- a/tests/runtime/common/linked_hash_table_test.cpp +++ b/tests/runtime/common/linked_hash_table_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/name_dictionary_test.cpp b/tests/runtime/common/name_dictionary_test.cpp index b96b96841..c3ac90f2a 100644 --- a/tests/runtime/common/name_dictionary_test.cpp +++ b/tests/runtime/common/name_dictionary_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/native_methods_api_no_crash/native_methods_api_no_crash.cpp b/tests/runtime/common/native_methods_api_no_crash/native_methods_api_no_crash.cpp index bce4a51d8..0d11309ce 100644 --- a/tests/runtime/common/native_methods_api_no_crash/native_methods_api_no_crash.cpp +++ b/tests/runtime/common/native_methods_api_no_crash/native_methods_api_no_crash.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/native_pointer_test.cpp b/tests/runtime/common/native_pointer_test.cpp index e009eaff9..85aa1d018 100644 --- a/tests/runtime/common/native_pointer_test.cpp +++ b/tests/runtime/common/native_pointer_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/object_factory_test.cpp b/tests/runtime/common/object_factory_test.cpp index ad8342efa..2ebbfb8a7 100644 --- a/tests/runtime/common/object_factory_test.cpp +++ b/tests/runtime/common/object_factory_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/separate_jsvm_test.cpp b/tests/runtime/common/separate_jsvm_test.cpp index bb9f4741e..addf830d7 100644 --- a/tests/runtime/common/separate_jsvm_test.cpp +++ b/tests/runtime/common/separate_jsvm_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/symbol_table_test.cpp b/tests/runtime/common/symbol_table_test.cpp index 0855fbd70..fdf684c3d 100644 --- a/tests/runtime/common/symbol_table_test.cpp +++ b/tests/runtime/common/symbol_table_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/tagged_value_test.cpp b/tests/runtime/common/tagged_value_test.cpp index 54c42d9dc..d1370d21b 100644 --- a/tests/runtime/common/tagged_value_test.cpp +++ b/tests/runtime/common/tagged_value_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/test_helper.cpp b/tests/runtime/common/test_helper.cpp index 6c8486573..5b0958eb4 100644 --- a/tests/runtime/common/test_helper.cpp +++ b/tests/runtime/common/test_helper.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/test_helper.h b/tests/runtime/common/test_helper.h index ea562ee4c..9fccc2dca 100644 --- a/tests/runtime/common/test_helper.h +++ b/tests/runtime/common/test_helper.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/weak_ref_gen_gc_test.cpp b/tests/runtime/common/weak_ref_gen_gc_test.cpp index f53afe044..bf9da863f 100644 --- a/tests/runtime/common/weak_ref_gen_gc_test.cpp +++ b/tests/runtime/common/weak_ref_gen_gc_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/common/weak_ref_stw_gc_test.cpp b/tests/runtime/common/weak_ref_stw_gc_test.cpp index 07ee3757e..6dccffcc1 100644 --- a/tests/runtime/common/weak_ref_stw_gc_test.cpp +++ b/tests/runtime/common/weak_ref_stw_gc_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/ic/ic_binaryop_test.cpp b/tests/runtime/ic/ic_binaryop_test.cpp index 728905c9e..6d2a2c261 100644 --- a/tests/runtime/ic/ic_binaryop_test.cpp +++ b/tests/runtime/ic/ic_binaryop_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/ic/ic_compareop_test.cpp b/tests/runtime/ic/ic_compareop_test.cpp index 0e25c9cf9..ba477f02d 100644 --- a/tests/runtime/ic/ic_compareop_test.cpp +++ b/tests/runtime/ic/ic_compareop_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/ic/ic_invoke_test.cpp b/tests/runtime/ic/ic_invoke_test.cpp index 45071841d..aab63116c 100644 --- a/tests/runtime/ic/ic_invoke_test.cpp +++ b/tests/runtime/ic/ic_invoke_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/mem/weak_containers_test.cpp b/tests/runtime/mem/weak_containers_test.cpp index 9ac1ba749..ef968ab52 100644 --- a/tests/runtime/mem/weak_containers_test.cpp +++ b/tests/runtime/mem/weak_containers_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/napi/jsnapi_tests.cpp b/tests/runtime/napi/jsnapi_tests.cpp index 473a13900..d93197f44 100644 --- a/tests/runtime/napi/jsnapi_tests.cpp +++ b/tests/runtime/napi/jsnapi_tests.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/regexp/regexp_test.cpp b/tests/runtime/regexp/regexp_test.cpp index f2f621a40..429baacfc 100644 --- a/tests/runtime/regexp/regexp_test.cpp +++ b/tests/runtime/regexp/regexp_test.cpp @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/runtime/tooling/js_test_api.h b/tests/runtime/tooling/js_test_api.h index 96f1f093f..46e6a758e 100644 --- a/tests/runtime/tooling/js_test_api.h +++ b/tests/runtime/tooling/js_test_api.h @@ -1,4 +1,4 @@ -/* +/** * Copyright (c) 2021-2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. -- Gitee