| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_warnings_tests/implicit_boxing_unboxing_tests/ |
| D | implicit_boxing_unboxing_1-expected.txt | 1 ETS Warning: Implicit Boxing to Int in Assignment Expression. [implicit_boxing_unboxing_1.sts:26:9] 2 ETS Warning: Implicit Unboxing to int in Binary Expression. [implicit_boxing_unboxing_1.sts:26:9] 3 ETS Warning: Implicit Boxing to Int in Assignment Expression. [implicit_boxing_unboxing_1.sts:27:9] 4 ETS Warning: Implicit Unboxing to int in Binary Expression. [implicit_boxing_unboxing_1.sts:27:9] 5 ETS Warning: Implicit Boxing to Char in Variable Declaration. [implicit_boxing_unboxing_1.sts:33:15] 6 ETS Warning: Implicit Boxing to Float in Variable Declaration. [implicit_boxing_unboxing_1.sts:34:2… 7 ETS Warning: Implicit Boxing to Double in Variable Declaration. [implicit_boxing_unboxing_1.sts:35:… 8 ETS Warning: Implicit Boxing to Short in Variable Declaration. [implicit_boxing_unboxing_1.sts:36:2… 9 ETS Warning: Implicit Boxing to Long in Variable Declaration. [implicit_boxing_unboxing_1.sts:37:20] 10 ETS Warning: Implicit Boxing to Int in Variable Declaration. [implicit_boxing_unboxing_1.sts:38:19] [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_warnings_tests/warnings_suppresion_tests/ |
| D | warnings_suppression_begin_end_2-expected.txt | 1 ETS Warning: Prohibit top-level statements. [warnings_suppression_begin_end_2.sts:17:5] 2 ETS Warning: Prohibit top-level statements. [warnings_suppression_begin_end_2.sts:19:1] 3 ETS Warning: Prohibit top-level statements. [warnings_suppression_begin_end_2.sts:47:5] 4 ETS Warning: Boost Equality Statement. Change sides of binary expression. [warnings_suppression_beg… 5 ETS Warning: Boost Equality Statement. Change sides of binary expression. [warnings_suppression_beg… 6 ETS Warning: Replace asynchronous function with coroutine. [warnings_suppression_begin_end_2.sts:32… 7 ETS Warning: Replace asynchronous function with coroutine. [warnings_suppression_begin_end_2.sts:25… 8 ETS Warning: Replace the lambda function with a regular function. [warnings_suppression_begin_end_2… 9 ETS Warning: Implicit Boxing to Double in Variable Declaration. [warnings_suppression_begin_end_2.s… 10 ETS Warning: Implicit Boxing to Int in Assignment Expression. [warnings_suppression_begin_end_2.sts… [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_warnings_tests/suggest_final_tests/ |
| D | suggest_final_for_classes_and_methods_1-expected.txt | 1 ETS Warning: Suggest 'final' modifier for class. [suggest_final_for_classes_and_methods_1.sts:22:7] 2 ETS Warning: Suggest 'final' modifier for method. [suggest_final_for_classes_and_methods_1.sts:23:1… 3 ETS Warning: Suggest 'final' modifier for method. [suggest_final_for_classes_and_methods_1.sts:24:1… 4 ETS Warning: Suggest 'final' modifier for class. [suggest_final_for_classes_and_methods_1.sts:29:7] 5 ETS Warning: Suggest 'final' modifier for method. [suggest_final_for_classes_and_methods_1.sts:30:8] 6 ETS Warning: Suggest 'final' modifier for class. [suggest_final_for_classes_and_methods_1.sts:35:7]
|
| D | suggest_final_for_classes_and_methods_2-expected.txt | 1 ETS Warning: Suggest 'final' modifier for class. [suggest_final_for_classes_and_methods_2.sts:22:7] 2 ETS Warning: Suggest 'final' modifier for method. [suggest_final_for_classes_and_methods_2.sts:23:1… 3 ETS Warning: Suggest 'final' modifier for method. [suggest_final_for_classes_and_methods_2.sts:24:1… 4 ETS Warning: Suggest 'final' modifier for class. [suggest_final_for_classes_and_methods_2.sts:29:7] 5 ETS Warning: Suggest 'final' modifier for method. [suggest_final_for_classes_and_methods_2.sts:30:8] 6 ETS Warning: Suggest 'final' modifier for class. [suggest_final_for_classes_and_methods_2.sts:35:7]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_warnings_tests/prohibit_top_level_statements_tests/ |
| D | prohibit_top_level_statements_2-expected.txt | 1 ETS Warning: Prohibit top-level statements. [prohibit_top_level_statements_2.sts:16:5] 2 ETS Warning: Prohibit top-level statements. [prohibit_top_level_statements_2.sts:18:5] 3 ETS Warning: Prohibit top-level statements. [prohibit_top_level_statements_2.sts:20:1] 4 ETS Warning: Prohibit top-level statements. [prohibit_top_level_statements_2.sts:24:1] 5 ETS Warning: Prohibit top-level statements. [prohibit_top_level_statements_2.sts:28:1]
|
| D | prohibit_top_level_statements_1-expected.txt | 1 ETS Warning: Prohibit top-level statements. [prohibit_top_level_statements_1.sts:16:1] 2 ETS Warning: Prohibit top-level statements. [prohibit_top_level_statements_1.sts:18:5] 3 ETS Warning: Prohibit top-level statements. [prohibit_top_level_statements_1.sts:19:1] 4 ETS Warning: Prohibit top-level statements. [prohibit_top_level_statements_1.sts:21:5]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_warnings_tests/boost_equal_statements_tests/ |
| D | boost_equal_statements_2-expected.txt | 1 ETS Warning: Boost Equality Statement. Change sides of binary expression. [boost_equal_statements_2… 2 ETS Warning: Boost Equality Statement. Change sides of binary expression. [boost_equal_statements_2… 3 ETS Warning: Boost Equality Statement. Change sides of binary expression. [boost_equal_statements_2… 4 ETS Warning: Boost Equality Statement. Change sides of binary expression. [boost_equal_statements_2… 5 ETS Warning: Boost Equality Statement. Change sides of binary expression. [boost_equal_statements_2…
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/astchecker/ |
| D | README.md | 14 <builtin-pattern>: "Node" json | "Error" msg | "Warning" msg 31 - `<test-type>` is `Node`, `Error` or `Warning` 32 …s and values to be checked in AST node for Node tests and error message for Error and Warning tests 45 - `<test-type>` is `Node`, `Error` or `Warning` 46 …s and values to be checked in AST node for Node tests and error message for Error and Warning tests 56 - `<test-type>` is `Node`, `Error` or `Warning` 57 …s and values to be checked in AST node for Node tests and error message for Error and Warning tests 79 ### Error and Warning testing 80 Error tests check that `es2panda` fails with a specified error/raises a warning, at a specified loc…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_warnings_tests/remove_lambda_tests/ |
| D | remove_lambda_2-expected.txt | 1 ETS Warning: Replace the lambda function with a regular function. [remove_lambda_2.sts:18:11] 2 ETS Warning: Replace the lambda function with a regular function. [remove_lambda_2.sts:20:11] 3 ETS Warning: Replace the lambda function with a regular function. [remove_lambda_2.sts:22:11]
|
| /arkcompiler/runtime_core/static_core/verification/absint/ |
| D | abs_int_inl.h | 44 SET_STATUS_FOR_MSG(InvalidInstruction, WARNING); \ 315 SET_STATUS_FOR_MSG(BadRegisterType, WARNING); in HandleMov() 316 SET_STATUS_FOR_MSG(UndefinedRegister, WARNING); in HandleMov() 334 SET_STATUS_FOR_MSG(BadRegisterType, WARNING); in HandleMovWide() 335 SET_STATUS_FOR_MSG(UndefinedRegister, WARNING); in HandleMovWide() 352 SET_STATUS_FOR_MSG(BadRegisterType, WARNING); in HandleMovObj() 353 SET_STATUS_FOR_MSG(UndefinedRegister, WARNING); in HandleMovObj() 450 SET_STATUS_FOR_MSG(BadRegisterType, WARNING); in HandleLda() 451 SET_STATUS_FOR_MSG(UndefinedRegister, WARNING); in HandleLda() 473 SET_STATUS_FOR_MSG(BadRegisterType, WARNING); in HandleLdaWide() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/system_arkts/ |
| D | guide.rst | 20 an appropriate warning and suggests what other features a developer can use 39 …oxing-unboxing** : Check if a program contains implicit boxing or unboxing. ETS Subset Warning. 40 * **ets-boost-equality-expression** : Suggest boosting equality expressions. ETS Subset Warning. 41 …sync** : Suggest replacing async functions with coroutines. ETS Non-subset Warning. 42 …**ets-suggest-final** : Suggest using the keyword ``final``. ETS Non-subset Warning. 43 …lambda** : Suggestions to replace lambda with regular functions. ETS Subset Warning. 75 * ``ETS Warning: Suggest 'final' modifier for class 'K'. [usage.sts:7:11]`` 77 * ``ETS Warning: Suggest 'final' modifier for method 'foo_to_suggest'. [usage.sts:8:23]`` 79 * ``ETS Warning: Suggest 'final' modifier for method 'foo'. [usage.sts:9:21]`` 121 … * ``System ArkTS. Warning treated as error: Suggest 'final' modifier for class [werror.sts:4:11]``
|
| D | features.rst | 17 ETS-Warnings as the compilation proceeds. The warning messages are included 62 let num1: Int = 15; // ETS Warning: Implicit Boxing to Char in Variable Declaration. 63 let num2: Float = 5.0; // ETS Warning: Implicit Boxing to Float in Variable Declaration. 64 let num3: Long = 5; // ETS Warning: Implicit Boxing to Long in Variable Declaration. 65 …let result: double = complexArithmeticExpression(num1, num2, num3); // ETS Warning: Implicit Unbox… 119 if (x == null) { // ETS Warning: Boost Equality Expression. Change sides of binary expression. 123 …let k: boolean = x == null; // ETS Warning: Boost Equality Expression. Change sides of binary expr… 132 if (null == x) { // Fixed ETS-Warning 162 let promise = foo(); // ETS Warning: Replace asynchronous function with coroutine. 205 class K extends A { // ETS Warning: Suggest 'final' modifier for class 'K' [all …]
|
| D | suppression.rst | 15 Warning Suppression 23 using ``ETSNOLINT``. Possible warning-suppressions are as follows: 38 Only the specified warning types are suppressed. 50 |LANG| Warning Suppression Common 71 |LANG| Warning Suppression Special 93 |LANG| Warning Suppression -- More Examples
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/test/multiple_config_test/ |
| D | multiple_config_test.py | 143 for warning in yaml.warnings(): 144 self.assertTrue(warning.find("config-3.yaml' replaces value") > 0) 178 for warning in yaml.warnings(): 179 self.assertTrue(warning.find("config-1.yaml' replaces value") > 0) 213 for warning in yaml.warnings(): 214 … self.assertTrue(warning.find("config-4.yaml") > 0 and warning.find("provides different type") > 0, 215 f"Actual warning: {warning}. Expected: provides different type") 251 for warning in yaml.warnings(): 252 self.assertTrue(warning.find("config-5.yaml") > 0 and warning.find("merges value") > 0, 253 f"Actual warning: {warning}. Expected: merges value")
|
| /arkcompiler/runtime_core/static_core/verification/ |
| D | messages.yaml | 163 level: warning 170 level: warning 269 level: warning 274 level: warning 282 level: warning 290 level: warning 298 level: warning 311 level: warning 319 level: warning 327 level: warning [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_warnings_tests/remove_async_tests/ |
| D | remove_async_tests_2-expected.txt | 1 ETS Warning: Replace asynchronous function with coroutine. [remove_async_tests_2.sts:25:1] 2 ETS Warning: Replace asynchronous function with coroutine. [remove_async_tests_2.sts:19:5]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/templates/ |
| D | codegen_language_extensions.h.erb | 26 LOG(WARNING, COMPILER) << "Cannot encode LoadObjectDynamic"; 38 LOG(WARNING, COMPILER) << "Cannot encode StoreObjectDynamic"; 50 LOG(WARNING, COMPILER) << "Cannot encode StoreObjectDynamic";
|
| /arkcompiler/runtime_core/static_core/verification/jobs/ |
| D | job.cpp | 63 …LOG(WARNING, VERIFIER) << "Failed to resolve identifiers for method " << method_->GetFullName(true… in DoChecks() 71 …LOG(WARNING, VERIFIER) << "Failed to check control flow for method " << method_->GetFullName(true); in DoChecks() 81 LOG(WARNING, VERIFIER) << "Cannot update types from cached classes for method " in DoChecks() 89 …LOG(WARNING, VERIFIER) << "Abstract interpretation failed for method " << method_->GetFullName(tru… in DoChecks()
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/ |
| D | switch_alive_3.sts | 29 /* @@? 21:3 Warning Warning: Possible fall-through into case */
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/ |
| D | throwInFinallyBlock.sts | 27 /* @@? 21:17 Warning Warning: Finally clause cannot complete normally */
|
| /arkcompiler/runtime_core/static_core/scripts/ |
| D | trace_enable.sh | 47 …echo "Warning: If the PandaVM aborted while writting trace, try to enlarge the trace buffer size h… 93 echo "Warning: tracing time is not specified, set to 60 seconds" 100 echo "Warning: trace buffer size is not specified, set to 8 MB"
|
| /arkcompiler/ets_frontend/ets2panda/ast_verifier/ |
| D | checkContext.h | 28 enum class CheckSeverity { ERROR, WARNING, UNKNOWN }; enumerator 34 case CheckSeverity::WARNING: in CheckSeverityString() 35 return "warning"; in CheckSeverityString()
|
| /arkcompiler/runtime_core/scripts/ |
| D | trace_enable.sh | 47 …echo "Warning: If the PandaVM aborted while writting trace, try to enlarge the trace buffer size h… 93 echo "Warning: tracing time is not specified, set to 60 seconds" 100 echo "Warning: trace buffer size is not specified, set to 8 MB"
|
| /arkcompiler/runtime_core/static_core/libpandabase/ |
| D | options.yaml | 29 - warning 101 - name: log-warning 106 description: Enable warning or above logs from specified components
|
| /arkcompiler/runtime_core/libpandabase/ |
| D | options.yaml | 29 - warning 98 - name: log-warning 103 description: Enable warning or above logs from specified components
|