Home
last modified time | relevance | path

Searched full:warnings (Results 1 – 25 of 66) sorted by relevance

123

/arkcompiler/runtime_core/static_core/plugins/ets/doc/system_arkts/
Dguide.rst23 All "System |LANG|" warnings are divided into the following categories:
25 #. **Subset warnings**: Part of |LANG| that is common with |TS|.
28 #. **Non-subset warnings**: Part of |LANG| that differs from |TS|.
34 * **ets-subset-warnings** : Enable all ETS-warnings to keep the code in subset with |T…
35 * **ets-non-subset-warnings** : Enable all ETS-warnings that are not in subset with |TS|.
36 * **ets-warnings-all** : Enable all ETS-warnings in "System |LANG|".
37 * **ets-werror** : Treat all enabled ETS-warnings as errors.
46 To see "System |LANG|" warnings, add "System |LANG|" options from the list above while compiling.
72 4. Look through the ETS-Warnings in the output. For the code in the example
73 above, "System |LANG|" gives the following warnings:
[all …]
Dintro.rst20 on how to rewrite your |LANG| code by using System |LANG| warnings.
Dsuppression.rst42 If there is no argument, then all warnings will be suppressed.
51 …so valid. The list of possible arguments is the same as the list of ETS-warnings. Add any type of …
/arkcompiler/runtime_core/static_core/docs/diagrams/
Dstatic-analyzer-report-generation-activity.plantuml19 ->Files with warnings;
20 :Filter same warnings;
21 :Remove supressed warnings;
Dstatic-analyzer-warnings-generation-activity.plantuml16 title Creation of files with warnings
36 :Write warnings to the file;
/arkcompiler/runtime_core/docs/diagrams/
Dstatic-analyzer-report-generation.puactivity19 ->Files with warnings;
20 :Filter same warnings;
21 :Remove supressed warnings;
Dstatic-analyzer-warnings-generation.puactivity16 title Creation of files with warnings
36 :Write warnings to the file;
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/test/multiple_config_test/
Dmultiple_config_test.py73 self.assertListEqual(yaml.warnings(), [])
110 self.assertListEqual(yaml.warnings(), [])
143 for warning in yaml.warnings():
145 self.assertEqual(len(yaml.warnings()), 2)
178 for warning in yaml.warnings():
180 self.assertEqual(len(yaml.warnings()), 2)
213 for warning in yaml.warnings():
216 self.assertEqual(len(yaml.warnings()), 2)
251 for warning in yaml.warnings():
254 self.assertEqual(len(yaml.warnings()), 1)
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/internal_tests/
Dtest_expect.py18 import warnings
30 with warnings.catch_warnings(record=True) as w:
39 with warnings.catch_warnings(record=True) as w:
/arkcompiler/toolchain/build/config/mac/
Dmac_sdk_overrides.gni15 # asserts that those overrides are used, to prevent unused args warnings.
28 # unused args warnings.
/arkcompiler/ets_frontend/ets2panda/compiler/core/
DcompilerImpl.cpp80 explicit Result(JsonArrayBuilder &&warnings, JsonArrayBuilder &&errors) in Result() argument
81 : warnings_ {std::move(warnings)}, errors_ {std::move(errors)} in Result()
85 JsonArrayBuilder &&Warnings() in Warnings() function in ark::es2panda::compiler::ASTVerificationRunner::Result
127 auto warnings = JsonArrayBuilder {}; in DumpMessages()
129 … const auto filterMessages = [this, &warnings, &errors](const ast_verifier::CheckMessage &message, in DumpMessages()
134warnings.Add(message.DumpJSON(ast_verifier::CheckSeverity::WARNING, sourceName, phaseName)); in DumpMessages()
149 return Result {std::move(warnings), std::move(errors)}; in DumpMessages()
218 if (auto warnings = result.Warnings().Build(); warnings != "[]") { in RunVerifierAndPhases() local
219 LOG(WARNING, ES2PANDA) << warnings; in RunVerifierAndPhases()
/arkcompiler/ets_frontend/ets2panda/
Des2panda.h141 bool etsEnableAll {}; // Enable all ETS-warnings for System ArkTS
142 bool etsSubsetWarnings {}; // Enable only ETS-warnings that keep you in subset
143 bool etsNonsubsetWarnings {}; // Enable only ETS-warnings that do not keep you in subset
146 // Subset ETS-Warnings
152 // Non-subset ETS-Warnings
156 bool etsWerror {}; // Treat all enabled ETS-warnings as errors
/arkcompiler/ets_frontend/ets2panda/util/
Doptions.cpp219 // ETS-warnings
220 …ark::PandArg<bool> opEtsEnableAll {"ets-warnings-all", false, "Show performance-related ets-warnin…
221 …> opEtsWerror {"ets-werror", false, "Treat all enabled performance-related ets-warnings as error"};
222 …ark::PandArg<bool> opEtsSubsetWarnings {"ets-subset-warnings", false, "Show ETS-warnings that keep…
223 ark::PandArg<bool> opEtsNonsubsetWarnings {"ets-nonsubset-warnings", false,
224 "Show ETS-warnings that do not keep you in subset"};
232 …ove-async", false, "Suggests replacing async functions with coroutines - ETS Non Subset Warnings"};
257 "verifier-warnings", "CheckInfiniteLoopForAll",
399 // ETS-subset warnings in BindArgs()
405 // ETS-non-subset warnings in BindArgs()
[all …]
/arkcompiler/ets_frontend/ets2panda/test/unit/public/
Dast_verifier_check_scope_declaration_test_2.cpp51 // Expecting no warnings in TEST_F()
77 // Expecting no warnings in TEST_F()
109 // Expecting no warnings in TEST_F()
Dast_verifier_getter_setter_test.cpp57 // Expecting no warnings in TEST_F()
87 // Expecting no warnings in TEST_F()
116 // Expecting no warnings in TEST_F()
Dast_verifier_check_scope_declaration_test_1.cpp47 // Expecting no warnings in TEST_F()
73 // Expecting no warnings in TEST_F()
Dast_verifier_check_normal_loop_test.cpp84 // Expecting no warnings in TEST_P()
/arkcompiler/toolchain/build/toolchain/
Dcc_wrapper.gni27 # Use ccache 3.2 or later to avoid clang unused argument warnings:
30 # To avoid -Wparentheses-equality clang warnings, at some cost in terms of
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/system/
Drunner_ets_system.py35 ALL_WARNINGS = ["--ets-warnings-all"]
42 SUPPRESSION_TESTS = ["--ets-warnings-all"]
43 WERROR_TESTS = ["--ets-warnings-all", "--ets-werror"]
/arkcompiler/runtime_core/static_core/patches/zydis/
D0002-Remove-chromium_code-config-for-OHOS-builds.patch6 This config enables extra warnings with -Werror resulting in Zydis build
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/
Dtest_this.py18 import warnings
112warnings.warn(f"Unknown breakpoint on line {paused.frame().data.location.line_number}")
Dtest_steps.py19 import warnings
77 warnings.warn(msg, RuntimeExitStatusWarning)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/
Dexpect.py22 import warnings
102 warnings.warn_explicit(
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/astchecker/
DREADME.md100 ## Errors and Warnings skipping
114 If the option "SkipWarnings" is set to "true" there is no matching of expected warnings with actual…
/arkcompiler/runtime_core/assembler/
Derror.h100 // Warnings

123