diff --git a/bytecode_optimizer/visitors/ecmascript_codegen_intrinsics.inc b/bytecode_optimizer/visitors/ecmascript_codegen_intrinsics.inc index 813190b2ff427386fb491faba8b1cd165220c167..77ac8a2287c28c0e9a9ccd2012865f3e1db8597a 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 a54856f6f75c6adad7cd8bb9214f0363d05b83fd..7d6de0e9ec02d1a9fb1b498d4167df3f94480356 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 61280c095868fa0af76d298393f71ad69566fbf7..c7b9cd48139ca5bc81293c42319db5f90b97b853 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 bfe30ebde16f6844a803388ea6f581af5fc07d11..14a415f1eb06aa1657164ab0484c5c77232e9f87 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 e28a2ce937dce836de4f31a00e2c7c7df16e9ccf..f1f49502a80138c98ca1874e01b7c7eb8c1cfc06 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 831ecf2ff9e084916d3127f0c803deabf7c821aa..7c18e893f213617a1a7cb3043999eaefbe35eb19 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 f35a3afe2bc726f9d5596db29bfdb6b7e3f678f5..52ac7409458cc76007b0742238db06d64814546d 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 5370c561536ff3b1f5868351c7602753a92a5d9f..17d80f29896e7c3dc91060c5b3171a966b3cb909 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 b22580d38dda2e6b4e75b4a2e7d1982c159dd356..1ea78f479aa576b21f0045c6a7535d34197400b9 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 7839e1c0a828d9fedfbf972e4957a067ec906721..e4ece81b6a15283fdbf73d9e52b89107d670064e 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 3c92b672891195888df0cf40792fb1591a80c1a0..a3739bb776f0c7a3ae5be1846d85365026998354 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 cb41d4399f67f05e3d5d863dc9b3a5e459c077a1..e3f114469fd6ff7a299e21f7223770b75b1d5c5a 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 e7db5c4335709c6a510325c8300c5973aeeba085..3fca9203b62044cb2ca4d0b6a1bb002a09f33369 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 de0b0424d53771c9e8c7c32542c9387f62a2cb29..0f52782f9ecdbeb090324a9f77b4f1f3703e5e4a 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 db058e031fd9a95295a72d2753486bd31b0a0f74..0a2b227dd57e769948473c9f71982ab38285f8f7 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 c8555ed678cdb2f5c0824a55d95b7be3293fa064..a583093f2ef80c7c27f483784bd43a6a7d7c04a8 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 0a9ac84099cf2a588caf30d857e9bad7a4ce5df8..d5bfbcd6bf3c273105c4bcdab9ac12f46f5ed095 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 0a32f1e3d306619e5301e42eb2404148cd807392..33405a0ab84651746801345f971c382694dc18f5 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 5d825304b81b59b27d593033fc8a6dd7545410a2..4e9a2b0d1889df255d4197b23c072d702761a73a 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 0b9b7d21fbfa2b3733b89b0d914b4d54337a59e9..267ae3d7862a1b32104876290be41c17693118fd 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 6b527bdbf6c4877a2dd186949942b2e0af33edc3..662cc7d53b4392cefa6bf000c53e8ca6a016ee95 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 155bd7817aed13ef2d0f5d38b8847c9cf95f1ef6..b410d2e4c230a2715b127903459aa93dbdac524f 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 37783ac29e04f3e79f1602015f8329cfba56682f..f92016abc1342b3e02a5f912185ec2cf5dcbdece 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 ff01897f13b472ba4e3b429ddd49a3d795eaec98..579d89b847fd7587305647c17f81244d1142c724 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 dedf9468f76a3d8f8febea75346793c60675e43e..5d35d4df7d2115b9841c9ba543ff05611863f1bb 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 b3e2a9cbe2b1610623f2ecaeea95f7f8205ba0ce..80216677d5dff821be80b11ecb6eef00df8761d8 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 99a98608ab0d03d04a4d10b750252996cb5a9dd0..b0b712dd434c19a18b4257f1d2929748f67feb0e 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 61b8cc99ed0fc8856fa7c16658cf59315b794c4b..44bd4283209f5b4529683f8fc70883f2f528a997 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 b4ab600b1b78e18327c35da3a8f85433c1f54d84..3db41e4e42ebeb55e547adfbfcff0432d1cd8b28 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 4d57bb98799879c8913938ffba85ea19a5082a75..ebf3873c4e94b681707b167da776345589d93a8c 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 c1184b40d44dab49df71eb80c2860b919dc82804..acf49683929de58b94c523a8180c76e39848c7fa 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 cf8224650cf0a3ee928760c004dfedffc6ef4282..93d175b45316245a843a063384305fe041bc94ca 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 de31a0797347064ee068b8b5a1397f8f301b5960..af1864c4682ab614eed353e80c62ffc9b9e25196 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 30975c06a4db27b3347d6e3fc1690b4e203e3a00..97db463db390921c38f0eb77ac82f15fef538e21 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 690b615d6f4b2c3e76f7a4e4aa5cd3bc79978de8..03b853594ef46f0f92c04b27391fe8d6cf693047 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 bf08fcb45f0e7c4b637dc8c624e4ed25e7eb6a50..c795b1f653f3bca3dbe84a777b062ea78d2d66b9 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 c31b62f91f193a5e4c84734991cc755dcaee1fc5..3d2fe138299ccac0287d93e5a768f7c7003d4507 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 bae552acabc3fe7c581dd0c459dbcc8ad329806a..52586866a31fb480404b7bdfc388baa19b2cc337 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 9a728008bd802eeb2a84c169272aff7198c2ca1c..42c6f3b743c3bc64774dc8418ace3fcd20ac5dab 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 49157f003a26f45fc92c659aa29a4a1fd3ff6c2f..4ecebdf04d3ed844e85349e65b6175e4af6f7bc6 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 20a272a182970e412795549600a16c5ba766b548..132801e36fce18dcd7b568bd53595ec34ee7207c 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 8380073b8d29b6e6fec027c3a9c76240323e4f86..d353e7cb12abc7bcab56527715add360b404ffa0 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 91273bd3008dc1ac29cd1c9d4a1508c0407fddcc..878f9771c18c303b417a1a222f3e7721328e0e3e 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 decd7dbdce408c21db0c67e8a3ae42e6277b216d..9d8c0c5cbb7f29df0b977f45ed659a2d345cc9c0 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 3853cdc43bae29e52976d395fe461966dd4a1070..044fd21bd9d420c705eba5f3901436c4be9e0862 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 ac4b8c0552b0755ed92016cab33fe264182a558f..cba0e2f3cb43c13001d65c875aab07733a1a3510 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 5532455d232d23825003bb74fc10a9c7a6b3f7a3..0f884e9fe2df8dd6f7b80db372254058363e2f3f 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 649d22bfcd4e2a6bd1136865b600fbe56b8e6c3f..5af1ad712b83cb9df6efd9b37920060567c4d32a 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 9aa725de0e867c1497703fec1753af6d9cf04ae7..cc15be15a4b757f653912b6bb7b45668cf711514 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 f5bcd288c3202d05cc3ee7b1594595400edaecdc..e09a120a5548751255c539e4bc51906ac4eced33 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 8f83dcf1a186eb5153a96e80ee89ffb814fc9bb4..0dc16418e6f8b1597212cf9a21495fef98f182f8 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 dc963aba11a627b511c857e57eec391d0acf20a8..766db23081b21caf4838579bdd264e4b6815ca07 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 632ad471dfa7720e9bc912586961f2c94bc24bc9..0ac5b772bd967b55292f1974ebde957f771c8e11 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 8da6a8972a82163ffc22464d5bf1531523f99af1..7f779303f44993764dbf6a642b238c91eec67c26 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 0b9872e413caa618bec46ef9e5b95873e8e70b3d..b074e3697b548fea73c3e9916f543028ab0b0a98 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 bf576daeddc2d783540fa56f7a6bba2af5e3f822..c5bbdb240dba5cea0579a4ce8def1e418b0f9ee9 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 fc4125458ab423dba898d6fdf945f92c42e00376..c4bd3e95623c3060d5677eae7b6200ccc8772b87 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 31b3d41e23b36a6ccbb9e693e4112137015bcc7b..5072f4f013c8e9d26fc5731f114fd26279a5eb73 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 57e6bf594b0f2366d057426e8cd604c85e03a0f4..8d45d7e3cdbbe14a5194c80b900624a0dbf442cf 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 d4a3eb5c6f0d6d45f65475f173b489523f1dd66f..603e57e9f9b68268040b6a9027a001c04140f00e 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 2ee0b70ea5a35fb79504c35e428ed0dcd4148226..10a3f218149cb5778dbb53e0198c9db80bc73d70 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 36c80edbb837455931d95d42eeb538e0845da8f8..29162be4852ea4dce0eca8cd89f761f28d3d491e 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 ec72bc7a09719cf7c7a8197f5f07f3ff0eafb33a..68ca7b6855c8bbcd63a34f78439e8ac5e84e135a 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 8ba094ee9502f2a147608443312aa41491fc4d78..ac7a11537df6e07065d5b9c4831b45ed5f9254d1 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 0db4448c08af0d63f5b7462c4eba082526ba8ce6..b67490a99b97d1523f37b3c2666a44455d7a196c 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 f58090c9b9455c794df03c02390cca79b0724da2..1b5cbb8be0ce493e9c4f8e756a7c6d23f8666d35 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 ffb41827d29be2df15f4d4fb571a0eaa945ca0f2..4e3bc418d6244b807fbc42b35d073e0c671b6357 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 fcdc8c5ddbb3dfcb3aaac7fc486408a23424ff0a..1fcc04dd715db2aa551fb256aa4e7d59db88c8df 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 53555a8638e9108cd030d3dba0d3dac578a999e2..ac8d4de7281d3cd4ff4a02833ee8e38e0507fc62 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 4ac23a2294c277fa844e0ce0317194a0c9ceb4df..7eb8842da1f3f34a332b159924473aa264e08dce 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 ede6f7175b269cdb8156e9f337dba105873ada23..037e60dd9130ad7012bbb119373d81a311ff8db2 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 2327f64c27c274d76af78b4c60a032483054d16b..a7abc9a6f85c9cf60ffb6bb686da036b3596de21 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 6b3bc00780db56fef0a67771487a30b6815fb0f6..ff50a410ac04627fa38c19e6379736cb6f2bedec 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 9b8f3c591b981807d2170dc8a283bcf550035a67..d439d574eb7dc0778b72e7e4085a82774733c04e 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 dd13db1add2883cfe80d6841daadc29aaa1d3dd2..c40ff8b7155b78f85c4af527581db90f9d4e7db9 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 994df1f994dde5cf9ce9ce1c477697cc1c2c646d..02a8a8741497aa9acb60fb215be6d3dfd3c435a7 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 89b2d02321ccf428131ad1c3f43606b44135203c..df38b9381dc099f1cdd1f49303058dfe28953f7e 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 297a9108228d11e2c004a0acecbeda0fa62e0373..88625ae29f7797b644f25700647da5b7c2e2105a 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 c08ef9019efb6c51b247fa5d3cdfdc66286ff7bf..84c527d1488e13e677f58fcce23b2c095911a658 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 00f10d1b4a9eae363a6ce3cf7267920614283167..7a6b01338d384e7f5e59f66c7fb84313b21b1802 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 7a992a28641159b54f082c7a1a1113b3eeda406c..d18cbcabf80c1b3decd0aba2bd5c181b64169cac 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 6ffae90a5e64fa8ed067725ddf6dc5cb0eaecb4e..5213892d830e2daa7d111053eeb7e92847de19f7 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 ff29843389fc1fee5cc75bcf88bee68ff26f7fe7..0b8071fb327141b0f6500f3c88743cce26ecef21 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 51476d856b0d2ad67823f37d5590945e97435746..213495acdd4bcbf524b5c24d301510f6e97e9e20 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 19bb57592d7b8295215458ae9092cd43323446f6..322b8ac5c20367d825f3f15744d0ffe1d60864dc 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 c001b36d17505b04f3c7cadf93a5ee62724c205c..cb61631e136bc0f2b5374b35a2cf4c8a96beb16d 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 a58eba0af58bf8661963b85290048e91bdad44ef..e70190355edde6e61f0b321e4d72898fe116728d 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 3153915e2d67bffd2c8163bf6555034abb4457b8..95b89263ec793630a3bc5f10c673d951d2f7a53b 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 77a242f55e36fa02397b839bdca360c8d3fd8606..8f6d217adc2b9e3f176c4085159301bd62f3314a 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 e478635bdfbea94c27dee89b723252a1385d2219..965177147af4abc297ecb9241eb4f0a6b81e8e44 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 f17c403889aeba3cb41ab859afbb09c8083ecb3d..b4de8302424ba09d61b0a722b6bce693e3c0d2e0 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 18d4a1f349adac4f24f79eb8de5b3c9619cd9de2..acb7a72ee8c35e43e97679e52cbad367845d0ccb 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 2d3c566891de014a8ce35e67d26c427ec4b08e5d..445aa8443b37f716bc7c7978a00373706139fd7d 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 6dab745e360272c4de8eb66b86c731214dc0806c..c50f5db2d9b357b44a753e322528c372c61c620e 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 028ae2897e37eea36997a011039440699eaf319e..4e4bdbf62c1f1e0cb6e2469142beff208a98cb3e 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 6dceabae2e5080c17bdfc9a3249a701ed7ed6289..96751814a7a48ff7b1fa73769e286c07e25344d6 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 647ca268caf51bb32ac254624bcb6295ba0e9c74..167a81c07fb5dcb77ba81c44cfc6dac05d1dd53a 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 73f7b6a2f54c60c6092f2c7a80c4b0efd91d3b8d..16dbb03a65196a6f753504ee12c4ff09e3959a54 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 6dcc64e93f5a771727eeddfb41e24706afd7e534..01e0d7629964e71db486dc059f610bcc51ef9df7 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 66bbd6ab2c11ca6d93bae12423565b6ec83a9d5e..ba86c05dd4ecf161667a918dcf97ebe106b4e92d 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 3483d578847c6d32d9d353c3fc90eccf7d2e6323..1664f369d08370518f5d5903f6045b082bde59fa 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 5b0797b84d42925066893a6621a04f59957d995f..387b93f8446ab8b6d442d8bdee27479a21bedee3 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 e6ca135a085e3c6b47f8e905aa79fdc082365fbf..93a0bf7a72022642455902a2be9f466f481c6f30 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 59c1422656a9cf8e032baafaf64377c975c32897..709a5c6db48145820ccfae71b0602a8d3d3d3c8e 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 b3c7ee77432d6a8223332cdd87c972ae133e2fbc..30aaba53d06fc3e75669aad5842324ae693ccf7c 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 557b5ff30c0d4cd389567293bbd776daa9df3d6c..6af465448fff4c9c0814741e095345d11afd4665 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 c79b806c666b6ed26c85a0c65d7ffa0775db4d7d..5da11547e230f7aeb25dd637f8e845eeafd1831a 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 954ea14de5e5c7f9a85e98720cee1b8d30841e8a..a57ab00c6def89c9e027720771ea44a58cb4ceba 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 5c03d59865dd958886f73fbb6411d408ad61d02e..8f1fe70063358cc8112a0c070fa2269eefc66c89 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 4356898e67f8bc15cdda773d21f25136d9e7eda3..3b06940454ef19c5087d093fa30fdd192f56592e 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 b012a44c47bc44dc7835a1a2627c841590371903..6285ee0708d6449baf14d05611bfc6780739632f 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 29efff7048b7089f6b1c7720c2ada83ced94771d..addb7dd8c64d071f59c9ac7088bcde379353c24d 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 c82e2225333539fb791823c1b9abdcae498fdd1a..698d2e8f23ea694ccd473f08427487e6107ef6b2 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 c7941c122bed1180e867631e76e5ed042ec2748f..30ce047dca598cfc03e58b820a6aefbc987f53fe 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 903add134c785d039decab5fbd5599274fffa36a..d406cdfc2f73618d046338269854d32e81dd0b58 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 d7be0714979ecfeb05b0cac6a9b03ce99cca8a08..444c409922e4ddc640192ae127f751e09e1a4cd4 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 d69e7c25acfe5fdf585ecc192ae6ea6358b5ff3a..ac47a4686c3d03b876a4885636826495c90f7bca 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 d0b2d766a185ae19658410a32b190382597b7086..444da07e5ca4e45d34c3707b819b15fb9f155440 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 5d39282763a8d5f43420837dee511e886a8fb34d..846720e2facf243c22963b37a4f7496b30caca48 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 bdd17113cbbb7507f19ce7fd134556189702391f..0eaa63d2c7aad45ad93c97fcf184f6f25b306465 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 d4776de5baa02c79e34fffc8f52cbf3d17b29710..de0dec8475dcf24120efb3055f83c52394a84c84 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 7535fa71ab621ed75bdfc94319bc1a84b889b9a7..2c189159d082a3de2234325133068fe7f5cd5f41 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 3ce7379e87e880ad103e171fb6e0101a2d59649f..90ef32fb03161b0b5a57b1b0d23f4b0c46ec631a 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 013a36c21410c87b15d85eb60aac53bd64c92cf3..c7a4ce317fb64a18e3a6b3b78cf04d88be228752 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 401fda58de567b2e23b8befe3b36eaa4407aa994..25051b0512ce3d35b5133f3355dc04bcadf44244 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 c38456d2294dc5f69c80dd86b0869e30cc220933..314f7a89f155571f8b903587f119d3b9cdf3692b 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 a6df2adcac350bc222d3c3e04479508edb4d80d9..4f170864ee2b6dd30d12cd969017128f9f05a608 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 8ddf1982c3a16d1165cda9dc011b066799f9e487..46903655513a10b1951089fcf091c82b2d5123b5 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 84f9d1a348fe31aa8256ce1c4adbb40e5445f7d6..117ca598697031253e262da610e90c48a14869e2 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 c4d071daed13e2a93a2d9d296fdb410185573600..06588efc1e80ea5bd954424175fb50174466d10b 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 282997298bebf0f64c8526217e49ea97e037f0d7..13c788678366799de9a58a29f40ddff15a90418c 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 a80e1b76c02d30cd15a5ff7afb120ac21dbf70c4..d662a59f62f786cb93d0162916d7ed4ecfce840d 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 8607a738dd5d6fbe87fc26a5ef38a37d84f87268..1d7a7b4b4f3cedd65a1937fe7517120987b956a1 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 aa2d9f96e3b2a14c98b1b1522f43b975f83992e6..c54bfe7d52fffe643f185cb423d2a45b88d422fa 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 ae7860fa7a2fb91d81ae173ae54014bc143642f4..0477d3d7d991f1c49fa077876a9e032e1f91c2fd 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 f87d88311230f5820784900cd4d421b2b8053b7c..2c2d6c58ac63b14c95b3273d0802232c10de87ab 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 189f88ee438fa5f6596a44a3e9abbaecb0ad3d4a..f3426c0862d6608dbff34ff37d405d0fbd21f85e 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 4b49c2619a96e661f008aa735a0fdeca12b4b2f4..e3ab573334cf197cc86da0965ec1265b8f461c97 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 ea41abb0b1f7a19d70421f32f7ec632d498c8c5f..990a4c76e02dcb241955798768f4f1e53ead0355 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 f3db73bf4de78d7d2a2c89803b221f33ffa51c20..46e96427eaff82be23f1a322a3df1c9da89d2a50 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 43bea176ff768d3af102ec2ab6205aa7095bc332..bf882833e99b42e594c5d0e9ad5dca6e20c493cf 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 ad87126cad406088487105b2689c1b25e7106fe0..b8bb85afa32058e174f75edd2d0f04442b6a1f78 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 bbbcbfaa58d058e04c2e11c1efa6f1c6c33acc0d..757b0195a5d7b0cbf8bb2d2ec0916ef52217a466 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 08cc45913caa612ae3a07b159e61220f77be4914..aac47f23b8a784d7df5cd9dd6e6a46cd872dcd7c 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 066a37d9713cb15e05f0c42b230c22f4b7d3e2b9..232235bf7f191544d0641561528dd44ceb43f556 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 b5d776f80d9104918a98f69db142f4a8129d2c0e..f15440d2b01b9ed2befea49e5aa5cbad0a8ebded 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 9012b4055c5f24db317c91a8d68c931e54dfe6c0..5a86717b8d5e06c4300ebc46e95c4e2e13d5e87b 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 99d0de02801efe3ea87c922a51c8f61b5c9c50ca..3221545d1003874ace84584d597fd78eea12e40c 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 5fb1747dddfb1607cb3d8059307d26adff34be42..518dfaae66df0df8e17feadeb945c77209a0ad8c 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 4d372371f8e8bdd988a8f1941955ac2a26ce12cc..37e20004d05d67be6db5ad24b3f5dd10c82c2eae 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 35fd01e24c46af5c28aaa4da88f8170131043945..b074be7e40ac0cf56c60582cbc8901752460bf15 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 8224a727b98851ec334aa6f973f78edde4e8ac1f..b9c1e96681fc85b2f75cf7c87a3279f228c076b7 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 19d5a62210f2cbbfee5c37b07bbf0b920a4d826e..262c2bf3556658f9a9f7373a70f0a17afa202f8d 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 05067a2d23a624c151641d12cf9e6c406df961f7..dc157134e82d2edb54d363d6a777fa612729f36b 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 c5c87119593c685b2b2304dc6f9e4dae30d3aa81..1c5858511db9bd64ac9ec0e6abbbabe14e94750a 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 83f21f64632bc1f701303b9b5f83e6a27c8cd230..8c227cb73eac4d5fb66cdf69e77f0f0ff2187058 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 a3ad1adab123d3f934f40872fcc88eb0e39c4d36..cd4fbe5167ae98b114c947ba509b162faa509494 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 d305ad64808d453ab50fb8db902062baf9382279..7fddcdd036bf0f5ff69fb95071c9caea0f377948 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 dccb6791a1060bfaf654eaadda3d84ecfdb9fbf3..ce21fa49f3b5a34c3b98d035ba28d5497694f008 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 672c418aa8ae3bea4b1b46b64374fbfa0d3edff3..b4171640245eb172c64ec11068cc4cb4db31b2ac 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 64f48d3a7974cd5ea8f16660f494dc0c43c2573c..41a5c4e84caf2b45c1937e24a69f3eb75b15a0b5 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 62dfe56987501f213364270ed790d1bfdc2798e4..73627f02ade39454c8a6ff21befe6780c39e4cb5 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 37ee34601d364161d751f7099445504e69e58537..cf74c0c217b93d4d5a6845c2d87c1f921f6e1f15 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 0a6f7d5e5cd16ce1dc4a2ce8f691a6c5c4e79017..e5b7e9fb8de077d327d8beb6000ecb54f9cb8a79 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 21f4b880dbbaeae1a1e40bd48f2753b6f12bb3e8..14633c1455bbe9bddf07748a436b4760266786aa 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 f6cb8838a01f9d459acbf70afffdace06d570912..7b0754e7c0754a8367916ecbb9bd58c8cfcbe868 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 8ad484380c8984df2e659d8063a36f62e54d4e30..20927fe75b336a1397815af6731e94da93836d1e 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 e4358c6171bb13574d6497bfdea34c9d1410717e..537d606ac6a65c4be30dfdc4a02b62b5ec4d235e 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 1b7bd2f4b69298a5a0e91da17cff43774f9498d5..9ee2c61ed798f2e89ebdcd9d792383789c1875b1 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 51f85fe6aab3d2d20c8b9d6f26f4fcdd19dd048a..a6b0c296a4b047d224008c27abab6c4536366671 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 23807f20b825f797893b163f1aeb4b76c880d595..4e9bb28a27e3bb7b87f87ee6a7fa375ee6480567 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 405e6b49f99911cdabe0697b1d7cdf7fbf1719fd..0be66a6840bb61975256b7e06a46c93a1610afd5 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 b951bff05211b0142be4d0550e64c5197fcf398f..174ddcac0c78d0ad075e4332a0ee4178c83ec4fa 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 f62dd72ff6f667767dcbe838a5d8f629026f4ed6..bf71b5de0af5a03f7f9ba2bb064da1ffa4fca2b6 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 f258f4132d4a73b809ce1dbc349898bbd42cd493..2979db48bc067538429c2e21eb11413057e3becf 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 d87680bcca07e1b385b1d182df97073d0c32d866..c47c29464e7642bf45211f518aeb16f13e99a7e8 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 c723ef4c0384b2f841997e5c21f22d26f6b99658..ea98b7ad7d57b8511e39c7b19783abbe385519cc 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 a3de57f24ee5e155bcf731c5c9e3a98983fa84ef..58f5420f31dcb1595116f34094a772d10ccbdf67 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 9bfb02ebf9414345e053164bfac670e09b70c42b..8e5c993e1cacc28f09d343d0fac039609bcf28f7 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 6b32957898e1494474bb046b83d76cb0abc8b305..e501bd0dd73eb14c9aeffb8ae02ad04a53095b83 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 f1e990b11ee297f7c181b6f03eeea78642f13d09..78a2346323976396cb41486c4c409cdbbc575db0 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 0948ba22a70e7669d3b5f3f5d960b4b567558f00..348b1e5ae88e4db6a843e92f3fb5921662214251 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 ef93c5318fa3e6c3289e03bafd3b9abe52f26500..f46d17e01d3e732c1e834aaf069692e7851f04f0 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 eec0cb06b7526740f33fa0b35e06ef0fefc320b7..d33e14294069ed2eb59a234cec05bf206fd5c9f5 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 4b6ffbca94529e0d073e0524c4df62117cf86b5a..14cf2d74721c4d99cebccddfc868d884ebfc900a 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 6fd0bcf829165edfacc73c0b5d9fe9090d2c0a85..16713271387cde5592d07546d99b0c537b9d7824 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 6ffb50c5d33af978a7a55e2764a4527ac8557d03..0e976b1221a32651e50b9aa74eb1e88f451ae9ab 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 03222dc9941925e4c866fc881e26f23e7dc4b06e..ed84a604fffb2ac56066a204149b01b584cf0da2 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 2c4ec7ab62677a2ae4d61f176cceecf9a414860a..c2d645ec4ab0ccc8fa9fc739b0c699fe4521693b 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 77f0eed08dc228e187659551ca8b8b8d5ed70a3d..9e5ffe7632149c9b75dc088e7d52363861273cef 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 7f77901e801536cfa1783e49eb7fd0f65771a15e..fcde3874b391a2c8a7135cc2f537fe539f1dc920 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 1517016bedd597cb819c4023b75002567ca8fb03..e76b41f7a1e3cb66252a0d612a622c884080cc04 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 ffb49cc0e62ebe03ddeccb7d32ad916be5dbcbc6..aefcc477a4ce50b2ee4e7c8249d8ea008a254add 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 ab2411a92a442decf9b5fcc13f4cf73113a61335..4a17c0b88108fb10717afb830c66a66b57badc7e 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 1ea09c333a000ff710f77aff2a2e22fe0bd6e448..775de22052484355759b73e9426c729dbe4a9c66 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 b439e5562f2c5b479a3bdcb8f64e6bb2d2917475..f165fff022517070b05886f9497ed9ec3a0a4754 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 9d767206164ac34545cdc7e89f94f216556a5697..ebbee0d5ddf4479bb203d93f60ad345714c6b7d8 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 5dad1270a038c74e927e6649b01766ad14b21f39..98f8b6720865566cebe3caef85f1816497a98415 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 bb5333608f9bd99ab5794c196cc8dc4ee52d7468..04b3abf393550eabeb75a0400307a684ec4e5a8e 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 59522b340fbc924f4d600cfe8ea51e2dbfee9c82..f6567d5945b9bb9789293ebb7964c3f2512513b7 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 da08720fd3d625a8605b4f7575e1e312bef99ca9..109527f744fdd7184f279a463bd94ce9c2424a30 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 4fc14bfdd450c8b8ddc30049ac339325744f3401..daad73ee696f9599f9324ace19fddd7fe483f24b 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 cf79533d192c568c941d096c52b823588cd60215..14df43f4dc4b4fc0012b33d4b3f07f3a3c15061f 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 eb977f08299afc58de68a93aee85d8da4919051b..f1c5afc8676aa32679921325583b76e75a33a24e 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 d9fc06c2d6e2baaa5ac98678ab02dea55af598a0..3649753ed460ccae39e69fa67aa511300307cff3 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 b1eae5cb5fb4782b814d7b9efec8d45e7a7724b1..66f71bf82f38bcf16af0f6bcec332ee6b1b80a95 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 9ae8bd0199a71709b56b62f239ff2f40f2dab696..b6de5771461ff445d69c8a8a00d610836ac025b1 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 92e9b24033e0f06b5c41f4acdffd02b6c6b988f7..a4c1f33861c3afcfde7ff102bbe5df4a4a919d85 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 fa6fa148f4438e74d755af8d8aaf45507911462f..482fb9509acabb578271655bf409de5e8dd82f39 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 9a42105bdc3f0a4557e7bba7f360b85835458c9c..59c1eb5533944eb6602129cbb70dfa51b581e7a6 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 20ea139da0a80211dc9814f44a82741a8ebc5653..018339ec22488163d9cdf8c9af9adaff4e8cb182 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 7d6ad505532642efc57bf67118f29d1c55547ac8..aaf6847bccb140086ad124e8ef6cf2e37f9f94ba 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 016c1a06495b497567e6a1cb4f4592f68c377b9d..72665c65548a07d160c61050ec3ad75d23cf4ebb 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 ce107d05243ac6b5d7d7f41b3064d3fd3f88db7e..2b7ab20dd36686cb245faffb98c84d59a9873904 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 d42515eb140a549a1732e0a118b0741a9c51a79e..595a4f00a5589c271029d0fc62b49795122fcb76 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 1db795f79751d45787edd8de147579f1c0bae825..64a3a4860a9b72732e69e9abf68cf9f31ae186de 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 822c29e6bfd5b1d7dca555ba5d3d9dbd821b77aa..a83d8d4a5acb15590593b2e2f9c014a4b02109c8 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 75fb44c68e9a493d628ffe9715cb3758ef85f296..dd440f9e7bb9be64b370e15c6428d53f8dfb49dc 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 bc84b5c6aaa3585c7debda62b3dbd5fa18cb01fc..d40a5d29830fd37d15b1bb2fa6e846b85c97999e 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 bb0e3e01dc42574e029569a3afbda67d5e94d93e..ea25debd04dfd76cdc0a9faa8544a4862041e474 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 b86b61b09b329dd0722bf7a964182a63d775336c..39cd41687e3508f9f37d4fc366f33fa82542f4d6 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 c7ad4053493b5cbfc92c8548439f235f32bd4c61..3ee2fac87b623319f741f444b89b45eeebb181ac 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 6c14ec69b16452ef992f39b9f934954919b48a18..44a6b3b7cee96af4ae92306031b8aa1f5ebc3551 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 5a7973376ca87cccebc22122aff871d877689df6..77b47e6d1e1d851b5af2a61e39ebb5e6401ff897 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 2acf2ac6ff7e183e69a49808369504b6698523da..6965d7f619c2ffe26fe09c9dfb07a43f110869b0 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 b16507aaaebadccbc50954676d025bd1437d0154..8c5029204f4a31dbb6fd017c79b8d00d47d0da15 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 ccf9949b2aa554273430020c16f73a3e54022e8a..62c8890ed92321b74a779df1c0e61d596846b517 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 6339e20118910ecb9d93b35530c54a072ff54c16..c7efb90e9c76ecbb8dd05741a024be1cee4fa29c 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 3b81403b4f231ba4a7c17054cbdf1de64971cc58..6cd901f6bbbc7ecd7bde55750a97a6ceb9dd3c60 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 6bfced7039457cb5d0062e6a0849b298c4150003..c838b0216a545f92736cf2328bac2fd2c280eb96 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 dd6af5e46cda5afc91969b248a2992cc0f49b3d1..3da751356e65cbf423e55f8a5786d0ca87d97e58 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 0ffdaa8f039206474856fc3265dc96ec2fa221f5..0c81d8afea174cf02b3318be7cd87178881a5603 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 b6005df29210fb87deed2002c519de2dd96e355e..a641bc6b82db499c43e2e644569ea4ec9c7952ef 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 9412f1b16a0e498bef277de8736889f6cc12b607..1c590829fdd770cbbc551e9d38300c0095e3d525 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 3828efa25bfc8973f80060408b41ef9b280939fc..c2290a272114be55f9728089f32cf62064a9e008 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 1fddcafe9c99db80454092dce2e86f933f938356..624e2a319625934b1850612e28a0750d1dbe8695 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 92ed1e2134a16c7003f27e9b65d308f14b0a6c2f..2209ae09dc9375940a1897787f25d4c661aff631 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 ee633f477c65cb2cb259ba5c5de672afe3ee59a3..15fd6c797109620947700fe37ddef857aae61ff5 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 efd53c073cbd29590b2e0ba266bf12d361f1af19..bcf17d21a52ac59bfabe4309f5523c383d192fe6 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 632fdc7df256eceadac325ea23191257128f7475..1256bee34a481c116afc8dd1ed0ad43fbf97aedf 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 293290700bf4b4f019bc9c8e9a38d22ee2d87ae0..e3002074e6ec24ad6c3ecae7a9bf83674bc282ea 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 e4f6a757a3e01043ba39a53915c7e83d04e1a542..f54bae4759dfff30e57cd97e6803963adedce68b 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 61eb893be1e0d19bc4f2d0cb2abdbac7db1865f7..90ce22ccd451f185badb02bb3f5f53e266f0a39e 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 c176c9d178ddad848813c4b12adddf976d045500..7ffe3142b4a76aeee63267835326ed287fc48d63 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 e8357bb29458a88fd97642addf9d434274ea690e..86bc1b6d07e3d6c536a823fa8afd228661ecf173 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 bd9e7b0ddc2d7499a55a8ce24da0e3f43fb2c623..b13fe5f24ad74a4c2d0583df3b17d37dab8c998c 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 8eb470b4aec2f4d4e4e491f49c4272796647760f..ae47bc2760021673ecb7a9b06189a877a9d9f7e7 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 418e79f59084bbe57da9af1b911467532fbadda1..447e1a1df1c72167d301c7b3f03cab4c16add991 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 975dd9b70790c7b2403fda10da67f4131dccbb45..8de592caf4e8996209d8743d31b578e2076138ae 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 734b0996ac16e8b0d4004a8b367b6ae281135f34..492a791f49a5643d18ba867f1aab9027e6774c5b 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 0e478d88a6855de45efab98857ff1a90c15c86a5..3ae00bd451ddbfda1012b610266d41ab90a72a85 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 3bc404db45e0dc4c8dfaf21744d2897c34538cdc..3bdf98ce3197247fdbd86f9d18540425bc423bae 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 6746b59a8a37eb98e03e8b26097dd04f833beb70..085154a8d6a4467c2f585f6b58ceb609100fe3e7 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 ff9f1ec85577a9e8a1c089c58ffaf29e94efe1fd..6c5d6800e83863c83812334c6dc6e3accd834134 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 14adba4c9a7d774af8ed7cde9e84c36deed92f34..c2c7b3f1651323c5e1c015407cd3553ead68f1d1 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 ef044cdbb587d6f2b910fb8b6e0fbd77ccd04444..8253e2be38a3bb0973c5c0db676246292fd65794 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 95e413a1fed27b9831a5ae31f090d897d8c06366..9e0ff8f76da4a0be1847fa00c024cb4e9fb3ea07 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 407b9001546d61b2f3e17d795a62b00a5309481c..91244f784ca02c9c97a0169d1c7e50e5eefb9c61 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 9209bef1d7f23dd54a454b66d5c59e9dfe340b01..cbf56bd0f9299508f001a0e34fc8d5290c078371 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 d5052faa24af9c53235fb8f25ebb92e867479372..a88db2b790439cec0684b12d28010f8aa697b444 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 1171a1121c4ddb86f0d0b2dfe0f0fd013a4f3c4e..2e3490ce97c144559ae1d4ff457b4b896e32e7a4 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 970bd94faf4cb1c51b3e7651ff25bdf1324703bc..51ad60d0a9d9922ff4224b27391de33c853e1f00 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 9101caa20bde71bdbc13c87d30c6214180b25a9e..9025e7bc426fb86ead9afd6de59385003a12c369 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 4e334bee05b93a410d1bf785f9e00fc841b932ce..387bd2d6389874ce43f9f8ed85977434c3321d56 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 39d26a9f45af6d603f921b71cd29944c7ae7fc5f..d9604c0291754672051a7f9df27f8a7228fa2a62 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 64e4d0cfd654dc41d3136de49b0ba55f4146fd45..af042e9c7b1e10d35194665f7f987b812a826141 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 fb86b5f4ded33ac41a72f278d8541e70efdda1a3..c574465ad296119f780c9e61cb533d360470764e 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 43d5fcd12deaea17aaebcefca9cdeb8f33a47958..2d47ca99c561629cec219d37bdeabdf26540b27c 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 b3f77fce01c2573f4c2285939d5f31b5d202c11e..36907cc87799c63d8d408aa30f1898c7443246e7 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 2f7f492660e2c4282e0dfeabfaff1bdf1b339d4a..83eeb32242dc2b060b3346a1fddb1951205ef4a8 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 024c82a94fa3a5125f2b7fb9bfa80494f7350519..1f0148dfcb0bcb4fbc9c58e6186a7726a49fa34b 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 300bdf0cd3d04152e6b5c24854466316aa27bf89..f676cba3d274d43085aef4de49945c63ab85a3b2 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 542a2b1b4fae7fd0339c32286c395412c1cb4eee..6b1edf0392cffb564e68407fb2572bebd6107cd1 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 0ab9505290343bf4859782572c7c467e0c0eeb00..6658faaeb78a1928e1923b3f68550ac75a5e4135 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 18f8d617ba4d9a0349ffcbac6ce7f102334d6bbd..be67af0e416d4ceea1df6cbaa243309977808a46 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 d3fc93cc25042a11046da89ebf789a8c0a82447b..393ed807527c5c0a53ed5d823d9ce67a5e5182af 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 5ef5938a6abca266e9665aefba35faa98dbb7de6..ef036ab3ccaff08f2c2e2ded20a74ff9ca86f15a 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 bca2571121142dee108eafa749076e01e63bba4c..f0cd825f24a37b56705ba947092073501f08641e 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 8b35f31301aeb5b9d3aa443f9ae00f40a77e231b..7049e047d1277fa105854f8713ac66c91d59a304 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 ea1db0a4241cf410ce9a9d6887a8682393befb74..ca91e36890a5ed9472b68c4ebc095ae410d7ea1c 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 2fe3ed65b0eddbdf05d15b7bba3f90bd36003092..b1c8c60fdaa2353b23a9c060d44079dc84701837 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 3bd00e7098cd7421d2973118750ce6bb163e46b6..b2efd3142269d9262fbbb9e48d5a71bf58e0a7a3 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 770aa266f604cb387bbc5c267bbb8036e91a7b0c..3e80c10716f8b73da4f8887123856e7b59d2eb5b 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 0a5d0c036729addb4c2f05bf0db06a00c4c41014..f2c411add4c7ed75a1c6547a7817de5358adad8b 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 d425372f1f39de588d40ff06a72378220e2e190d..e61d31676224fdedd1fd62b190a1bb86857dce60 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 4776b01c0dfa48f7dcd8c646d20103c4ce54dff5..0ab4753e01020a26619885a3242675168c8d40c8 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 878e7b466ed292f724ba7fcde1bddf68e99914c5..5cda140e9d03a1b5016873795bae8c22c93c5de8 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 b62ef3e9e76c4051dad0072af49599cddc287bd2..406ef577a0ca04ed4448e41b930478224533cddc 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 89ad5cf9d37032aa762f3b426c6cf850b169968a..9d855f6790dad973f7e89cb8232a5fee8691c259 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 d22a0f0cbc5b901033015d9d6b832cebbbece7d9..f13a8b54256a29f545060ff5cd6affa05cefafcb 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 420265d71ee4ac6b782bfa59d84123f4647e1348..f418ebfc7daa35014d374227e2c899a776ce1092 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 024bf6d99485c10f687e6c84f4353a8550ae3449..20fa7ac11794383516829b054676ff5815f34335 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 06313fc3f7efd3d12674534fa35018229175fbfb..95bc056a881e370b3d2c1812659c4534db8cfdc8 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 77e4f98ad62223f781d73d3d42275b5b1c4a1c76..d34330d1ac3e3c9a8d4ccfa84352e079f17f2407 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 afc9ce35f7d1ab099a1c717d46c45a36fa315f90..41c762f17c49a4c307efd33739e5e239533dbafe 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 38948b67b267dc8b7fb1b58ed831d8955500a434..5b0a5d25104cb5bb5952e024f056be4c778c1ca3 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 987a1a1d44a1ec0d202a145546da00fdd6a6cd2b..7b0ccdaa59144b8d6bde066bb25df34f002ad94f 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 215de5be0cecbf12694209a2a98d19f546e43b7d..a6f0d38eb39cd1a3fd12f3cfec024b24f15817b3 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 f1869e124b76314f38e8c91f31233181b4c76c57..c89de1deead5c2159b7198703773c4d1a1411a0e 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 283d2546c873415b892486825fe8756c893ac0c6..f360813a6d936d1c12fb1b535613f16a455bc599 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 cba1d631770c63ee93c2aceb149a745a895ed797..a4b5cc1526592a28dfbd494c417d1fb32b216f46 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 9f4c94d51f03b99e8f0c6b4eac403c6860a9bc9c..9e1d374e46d9e1b83c690903305f8c3bbde43a2b 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 e4a1f6103c8f946264c931e9830c47b83fd00e63..fcf732f4ed101db6aa1f094f68b59b45b020365a 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 e1d54bba6e1b7d113a776fac1d5f1681483cf351..4151498c7263348a769a7d23f6b045f0e82d7c22 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 8bb3d3ec9177a44b2d42776fc2d016f951327269..fb77752a215f5a9da57b1534cc72ad6e99f43f3c 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 259b9acdab8c371f8c8b9b7e29616fc61255b5c7..be8cd720fcbf905afac79864e6bde191a71a64e4 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 190aa0fb5ed3fd17e0b55172c5a5ab8b7dc409e1..19a1a849cb70a40f3256516b9e63b5a3cbb39082 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 a83e5838ac43bf5e138ea1ee0108b3776fa6036b..5efeca72b9a94576f725020bf1aabdb084c058cd 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 5e1d4f28e00e53fd2c28c175723aa59502b60529..c91764e2c0210672b3086ca1058d713dd3d19675 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 910d59f77de87f14188ffad59a5b21b34ad043b2..457c7bd731be093c4dda24e64693947c168a4d61 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 aa44a84fdc8442d4d931682d410c5ab3ada2e378..e35fdb61d17fd5d9d06581ac268cdc42051bef6e 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 992ac7bbe2eb2beeb84a94fc10f93f7cfa0afe8b..34580416209028cd384bb6a3be68ddbfd8d5aaec 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 f5f78b9f5761b8a5e7198cc4786564d4ccb24dcc..5e7046c8bf34645d88c025dee38d4ecdaefabece 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 80a064b112aa57ed58d88392c94c70c45b972a30..f20f2ad615450180314b2e78a4e76db0a0b8df44 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 0db0b5d612a2b1f377dfcb3c42ee85c73b859a2e..8773bff11b4adf4b4f2abd7c1cc34680c01e8ca1 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 0a124cec3a4e4ccd501a4b07376f5061a814513c..15c1c39f8b5e8ce586757d4fd3024641812338e5 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 c84fccfece09ad50d2656dd207e561a7fa9dc0d2..01df2f741a6b5b221393a6a6232aae788e50f7a9 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 ce676642e2e4a970f32a94ddd71e61aa79cda77e..7f3c340894425b41c95b831dad41c412d7bcd1c2 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 5721d0014dbd7122e6067bae5187fc9694a2517a..cd4c621574db5c4af7d7425edea15772b5043771 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 9c25878a62b554c5fc107631685955acf1945eef..24d2d87f194fedd9566ebcb83fa4994f46ad6503 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 4b02a19b09841e5888f4b0f6e98ab08537d9285e..e9ee251b6de1c672125586afff55f24af03a907f 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 b5200b22c16e658e1ea91b77a091f7ee522606f3..8fdb48df85389da042fe0a798e81e70df84f7769 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 790b00962584716d49261f2692f3ddeec16e562f..fb0d065bf7eaf8f0f36edca7890ed451ba855eba 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 8beba701fe1ef9f3e97a4bf2f1a24c50a7e35f5f..48fadccba56aa8c065a4b2b756f741b13297a31b 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 f60737e2072197456523098e1f4e7edd907a39cf..c2f1f8538e597e8bc7324c4889fd97e1611a46b9 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 812689ae592c3ad748f18355aa8abce0019ef893..93ea34aa899427cbf7d7527a187a83b3a7d1dfef 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 bdc353fbe36121777a72a946769f02055da66645..3f943542b90d8dd45dd10b6fe8fb89d354b8add4 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 702cfcf71fa82311a656e6fcaa6ae9792b4e9f73..69dbbfc5044716c8e92b80dc50c33e088468e830 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 d92afe288d02a1863658158b48ce0b520809e58d..c33966a9c4b3f100b19688eec5dd73a22098e194 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 e89e473463d9d47ac3b375b9568acc5973a94b74..1983d95de803d2fdb9eb4a32ee8e1b20bc631032 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 c6eb71420fc2f9766e12dc1babfeaa090007d915..8712ef89e6743559b4f393f0ec25c50eb3f64098 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 39d86fbca2a94d2d61ac4ad10df46d285db1293e..85baa062ba253b734f72db5d711fdc26ba978915 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 1d278c656d57db066bf4179d0649049afbee3e61..f62c09d9fc9e38272c08cc4177b653359317d278 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 1aa93ab0bc809e93e8d12b3aaa05ad077d108c9c..3a0ab9e4a0aea2d771aac8c75cd34d322a8662e2 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 48c00e643413d572c40c52add794380af7e99a97..688820c37a57d1414817eac5d0b1f78c99adbe2c 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 645d4b88c3322c2d426b750235c38cbcbcd194f4..12eeda9be6fd418b14d2f6dd01dc77874edecb17 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 db8e18ddb8d03281ed1bffe05ed74c6f306ee92b..fc7d5306e6cbb68a4b8b702475f154ec4ad70dff 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 cb16db5799ad445b2266eefb48572add91d7a789..3f30e4d7e4c5e5414ee71e8c163ff543fe3e6124 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 37d16e4e2d1ac2952b0881da60b306cc4ace11c2..d620d62920b426ed8f3b7a24ccb85a63bef41075 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 1a210dc98e5f494ca70c5c6a8f62d800ee8810e4..d71b2a10fd178f7aefd4358c1adccb6ee1d81057 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 1565e80cd033883749cfcd474935516230a4e4a2..2812ee4dd6c58b937901b1aa49c2733a7561059d 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 07023d4632e6e8451c9dca20bb182e0667f49735..9f66e92f37d3ffb779708132adaea1b529054189 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 4b38930cad3244d25d0dddeecf2f07d994914250..fc6d5ceac7cfee8a4bdf881e4fb3004323b1fe17 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 a81968cbfda3aaafebc43cb5a1c7873e418d61cd..ddd850a1eee1965eb34b168c5713b066c8b4aa30 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 9b604c33b37b13da8c789b69841847b29449ca2a..00882cdda80b85119bb2a25e29718dbccbb7ec5d 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 9d2e397420a2d251787f7369b8aa6c8b52934085..d7af5a8c800676953eeed79f0d70a532708dbb75 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 ead0edb02e8f3108a3a97fd1170b7ff7542989e2..554c06f26aa3514124bb42ba205113ab2fc6d332 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 9bf395fe7b251bb16d7c4d7c35db06e081c4c490..ca676b3b12f45c4c06acab7b64ff3c2c74aa0ff6 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 9c568d809713239c7e7f5b755159c4262d3f5eb5..5316caf1be164588c7df7b34dd9b6ca6b629b297 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 393ff72cb0b731a1d36291a70b15400e8782ea40..964e8bfb05467decbcf020db53f7076fcce5acac 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 13ee35f21e74b432e143feece2d3e37ea7c4fead..280b8e667a347f882493fd52e18bb94e0e229d18 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 2953b46e7cea5cff4d3d05b0357a2963f6baaabb..48c309d544be2dac7564e8ad8f253e3bba67f2dd 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 41fda17c84128eee3484f6c86af367bfa1dbf0bf..02a4c5f4b885f242dc7076a1bf648448cd8fe471 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 498a4a81453af32736320f800f8c5fa44d4066c9..0257e5e7d31b4603fe9c8869aa8c1681faa1e70b 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 e7c10e14e8b556b63767ab60b1cb527facd5817f..8ce0696da6ed6805c71f5132b8fbfef35493d1a9 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 57024684845043dfa617e725616e27d1f0f934bf..4c20d1bd8b60f37cb3abeefd771de0f7f7407b74 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 e4cfb53325b58b1e90a4e453067f8e70984950ed..b8577dfebb1f03b24e327be6e17d7d9627548b72 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 a0e52d544f1f136fbbb8599f2bd5532069a195b5..df02e021e23660c619a521e179b26ee016815a0a 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 775698bfef374a3ad9741329cc08ff27af0f984a..7f8176887d005a36d1fc7b327b05d43eb8e8cab8 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 4784e56ced5adc8807d4d57a9776ae08aa4220f6..5e1380b64a2b7f5ea63a0b1686d0ea30ccf58bc3 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 95e1824f409abb5c7023e1bcea52ffaeb5665627..af937149795e53b17be562a292e11513ae157276 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 43cd7a474a9a532d1a82dafc01d13a04ad6424cd..952982e2d855b6a2a675f9b16cf0afe4ad1a6e50 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 b01049d584a9fbf802a75fbc9d4bf50a9e2e710c..a9aa99a08b75bb6c604e43d6b89df95a9a70db4f 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 f1465edabf6710d3ab7daec67d64ed2122d3224c..ee1835a34fed3416b654867971d087310d71b6bf 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 ac033ed05f56b36c2e048189452af396285b1f1e..a6de87eef413b31f8963fef50733797e93b253bf 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 87b78e2f69f18fe5a11b64d9735317990d00901e..a0e69aa23f7a82f73ceb396dad64b0e817a0b2a6 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 54648f91ca9f4507d9b495fe38e85e69e44c8eb7..bf23711a3606c6c5868d217cd77da71623d1e591 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 5f88c9d007293b3b0bd264ff9be76e6e3f3191ce..1089ae8f45c0ed0a580ecb83945f1e5045c72ec2 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 f02b8ccd9c4f089dc1e8ffeb63c072b8d35dfcbf..6fb7d0e345f67263a0156883c718c664a40f8f03 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 9791befd208ec9370251ab678ce9e575305425b0..441649520e92f7c9c719dd794d4333f70fe1db17 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 45683e4ceb61df3f5fff19fd07230427a73d226f..913b72147ebe8f552232b7f75b6afc18b4bec6b7 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 0439410da0966d8613f7a85550c432d9c10797e7..d84ea226bcda7258e73b80dab0b7e8ee81ffe068 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 4c77592755156d52407ae75762d15cb7a641e967..c4092b53f3711417d1ee4674d055fd4c0159e8a5 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 298416746af0c2ecee47c6a8a8fbc2957da39ac4..3bf4233c492a7d6adc880fdb6f875816127f3fff 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 3e9ffdf926db5b648f159f43636a6f2681466938..1687b74661bee645f13709090ce37c13997e40b3 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 f3008cc3fbd5d6b3799e4f753a5ec52b598d5af8..5001b168604436257ee8baad35a5f8081eda07f9 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 559cdf554b4a5b0912b786b5d1bae38f5deb049c..514cddab96f10cdba59154c741177dcccade7a90 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 4aea2d3d78bac1ade44c1912069bf08558b23dd7..871d00372985da3b76361bdbc295f145f15da020 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 6fe66a394cbd7e8196270d6193d0d1912f70bd7a..183db55ef0f19a151cce8069bfdf50fe49764955 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 09ef5c057ca813b18e6621e78dace88e2aabc93d..2764953c653ceea019f768cce914a4a0004d6c2d 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 d94d8ee74ecaa262654ffcf7e266fca6038ba35f..d32002514ce29319ce94184c8a8ffdcf70b96f20 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 f6bfa38ef17a69dfa50ed2fa9aa62cf38d420c10..c06984c1113c28853d5bd8d9e31d403a4f2bd5fd 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 e5c0927f7c953b954ba25d8dda31e95306ced71a..231129c3686c20f657fbef46057e8256b9a270d6 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 494a6b240b6a08f959a78b8cb199123dc7d0b2fa..d65609ef25f0f330a9a45b1a5f5bc5ee5816d600 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 611fe3517cd45b4b609530bb2555db34db05db27..c291ca279d4fd8e111e191bdc2b90c3dacbbe516 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 0998bc4b67ebbab8b9e9211b388d5df9f4c97a08..10c1719218d67fce2d049b99ffc869e025355cb3 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 293e1f0d434b3e16cdddb335a020b4c33115e704..30c0dc80f53e1b5a46ce922738094972ebc61cdc 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 6e007f58f92aacfd87b55c83651c60223c2d3e78..fdfe1f8ec6c4a5efb96acd019f4f34177c2dbdb9 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 fde919464aec29e58d88866a0fbec39ae9549fa4..56988bdb2de318141f043367ecd424d9ce0257a7 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 b4374296d05fe512ce961f046807c8f5af8e2be1..e230f3db03ec401cc563754c3b21c90a94bc68d5 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 15bf7bbaa48f850292fadd95043e5ac57e6d91f5..7d4797c62d6a994aa8f0648866be00560a2d0a30 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 e7add491e77975607510cf1740b39c53f1f79d87..2c2b844d18f4a2c7bd906db6f4801f65623b38c1 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 31d27b7b60a5a6b96ae22644cf6ec736b59dfb04..6848c8ec2454f1831df045199f234ad46d7ce19d 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 ba7be91799200f36fec81eba1b1d73776833059d..69a0c94126c29b91d284d51f88fd17f1fed55ca6 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 8ed3d89b4e6a7346cc8c7cfe6d04998663f24000..0b9ead9320993fad57c24f9795d49d3c71a0e638 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 a3c927e988fb1ae1e9c42f3e3a0cfaf6926dba76..084383467e107e33814d33735dd8ec5ac4b1a563 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 d452175a890d3c50f92aa9a09f52fc6fa2ff9510..f2258b35c706792132a22527421ea72b2f772325 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 b1cbf8218ad5aa1674c6883a748f8f02034652f0..baa79d02aab6d25727b8244446df2a5cfa4b469d 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 2f9f90f5b1209e8e1ffd61e0ab6a72894a65b3ca..4d4338f4333bd06980a23dc5e47db68af9067455 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 9fbddfddc5effbe882b285ed1963c48b6cfe006b..2127300151aae7a61ca3a7a914fb7065fc8092ff 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 e678db012a18e3780356eb8517d4ea540db1c384..e528e193a88a52210b41f586df07c340af1cb594 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 e8e89a21fed0b2a0f2d37867b93edf0af33e1f9d..344442dff80a9da94e888a1cc2c0335cd7d9c5a3 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 1c98e2ffc33796785575ffc69097850844b07ac8..2b4fd6c1b67f6e300ce456e01f6d50c8edf3f5f7 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 0eb75e6cbdb0fca127c5b65e4baed60a12169812..c40a9f176b8f4708822adae36764de7998869093 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 4cb56d1a22b51d9d3bb2353755f2c3afb285ead3..69a9051f88dd2d02e94f40779502cf0550c18a68 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 c1da36fc325e50416527ff8f3f43c09ca345c364..e01a15cba8bf5eb98ad2c3a3514b00497d085343 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 b086250b3ae4109984dd62b2ab0bb11eda6425e1..2609c558fd888eb669b00bfcfa310c6ede652f8e 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 b96b96841d8673369a962a865b5e01976e39b5f3..c3ac90f2a4aa290d744b9ed4b46d6db4ac9fc10e 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 bce4a51d8dfb1e9dddc49374ebe92e804f668705..0d11309ce8df0d5ace8db2521064be4cd0a1e5ec 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 e009eaff9e31952815807d0a286ed983d6dc7b33..85aa1d018fbdd7ce2a860b7ad4d911673f388054 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 ad8342efa34e72414a8ea2d61ea1f6b3fa96792b..2ebbfb8a7731a47a5f6ab7003db321b236d15ec7 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 bb9f4741ef4505713ed57b64d15ce3d6cd1d4453..addf830d7f801454908af4dd65c29b8941252dad 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 0855fbd7040c61ee0904445db9aa227fe4d87efd..fdf684c3dc2d23748ff161327b2f3e7941961bef 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 54c42d9dca654bf5f68efa1f1b0c5b475f7a23e0..d1370d21b852a9c7aba44947462ba9517f4aca25 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 6c84865737a17d1cb15b61284e8ff073b4b54963..5b0958eb4b17dce1b450636d33e6027dde415179 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 ea562ee4ca0e0acf454f59b356e57193e2089244..9fccc2dcad6411be1d87d5e94608bc81464b3e94 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 f53afe044ee2639b000080da873263125480b279..bf9da863fc035e851ab776bcacdcaaf9514ad5da 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 07ee3757ec02597d484c9356c97039f1fe4a602e..6dccffcc18b62e8c5ab3cb34532dde36ae5bb2dd 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 728905c9e17576e6c37435ea604465558a53e3e7..6d2a2c2619227aabf7352415db830cb5590f96e7 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 0e25c9cf920bba23943b1c8ad4dab11edd24d78b..ba477f02d5a87609c429b8d446180187eec3059b 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 45071841df7a7b86f18f4bbb148de9352ae2b9bb..aab63116c2136c18555286253091039ce81cff32 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 9ac1ba749c360c96217c6a14a2eef25809453a46..ef968ab52799e49170c045d438e52280065facac 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 473a1390090306e6af4426b43207651c49166fa5..d93197f44107e29dc9225e580bcd3b1a7a5bd331 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 f2f621a40adf7037365180e87a1ed434ec00c8ed..429baacfcbed49dd26a3cae0ee1dcb0af489b074 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 96f1f093f0c04b698b5ee1d9faa1056fe707436f..46e6a758eb3b72ffd344f9ec4e07557f8140c2f6 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.