| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Support only ets suffix for source file Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IBSSK6 Description: change suffix from sts to ets Tested-by: ninja tests (passed) ets_testrunner (passed) Signed-off-by: gavin1012_hw <wanggang203@huawei.com> | 1 年前 | |
Add CTE/warning for the package keyword Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/8924 Co-Authored-By: NA Signed-off-by: sergeybogdanov <sergey.bogdanov260@gmail.com> | 5 个月前 | |
Changed format of ets2panda diagnostics output Adjusts all tests accordingly. Two warnings were not proper diagnostics and were just printed to cerr, moving them to cout required adding them to the srcdumper ignore list. Diagnostics should be printed on cerr, but that part was left for a later PR, because too many tests rely on the current behaviour in subtle ways. Also improved diagnostics contribution README.md and added an explanation of the diagnostic prefixes. Fixes #21192 internal issue. Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/ICPCXY Testing: ast, astchecker, parser Change-Id: I37049bb0cfdef72d5b6516fbcffb9eb8794c83d1 Co-authored-by: Kaskov Mikhail <kaskov.mikhail@huawei.com> Signed-off-by: Kaskov Mikhail <kaskov.mikhail@huawei.com> Signed-off-by: Peter Pronai <peter.pronai@h-lab.eu> | 9 个月前 | |
Support import from .abc file Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IC7O5K Signed-off-by: Ilya Trubachev <trubachev.ilya2@huawei.com> | 1 年前 | |
Refactor 'ImportPathManager' & 'ExternalSources' Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/8938 Description: ImportPathManager: 1. Make 'ImportPathManager' responsible for 'Program' creation. 2. Specialize 'Program's by 'util::ModuleKind', 'Program' is an abstract base. 3. Refactor 'Program::externalSources_'; 4. Gather all the global-caches under 'ImportPathManager' (ast-cache, source-cache, decl-cache). 5. Reduce 'resolvedSource', 'declPath', 'ohmUrl', 'declText' and etc. interference: * Define 'ohmUrl' as fs-independent 'resolvedSource' * 'moduleName' is formed in the following way: 1. Form 'resolvedSource' (absolute-path). 2. Form 'ohmUrl' based on matching 'resolvedSource' with fields of arktsconfig. 3. If wasn't matched, 'ohmUrl' is just a filename (w/o extension). 4. Form 'moduleName' by repalcing '/' with '.' in 'ohmUrl'. 6. Simplify '.etscache' path resolving by 'cacheDir'/'ohmUrl'.etscache. Phases: 1. Skip "before-emit-decl" phases for 'Program's constructed from decl-caches. 2. Replace 'PhaseForBodies' and 'PhaseForDeclarations' with 'PhaseFor<ModuleKind...>' Programs. 3. Introduce 'PhaseForProgramsToBeEmitted'. Signed-off-by: Daniel Kofanov <kofanov.daniil@huawei-partners.com> Co-authored-by: nikozer <ozerov.nikita@huawei-partners.com> Co-authored-by: Zelentsov Dmitriy <zelentsov.dmitry@huawei-partners.com> Co-authored-by: Klimentieva <klimentieva.maria@h-partners.com> Co-authored-by: lirismankarina <lirisman.karina@huawei-partners.com> Co-authored-by: Amosov Alexey <amosov.alexey1@huawei-partners.com> Co-authored-by: Dmitry Pimenov <pimenov.dmitry@huawei-partners.com> Change-Id: Icef66995940b4dcd69653108cdc6e2268b52102e | 6 个月前 | |
Refactor 'ImportPathManager' & 'ExternalSources' Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/8938 Description: ImportPathManager: 1. Make 'ImportPathManager' responsible for 'Program' creation. 2. Specialize 'Program's by 'util::ModuleKind', 'Program' is an abstract base. 3. Refactor 'Program::externalSources_'; 4. Gather all the global-caches under 'ImportPathManager' (ast-cache, source-cache, decl-cache). 5. Reduce 'resolvedSource', 'declPath', 'ohmUrl', 'declText' and etc. interference: * Define 'ohmUrl' as fs-independent 'resolvedSource' * 'moduleName' is formed in the following way: 1. Form 'resolvedSource' (absolute-path). 2. Form 'ohmUrl' based on matching 'resolvedSource' with fields of arktsconfig. 3. If wasn't matched, 'ohmUrl' is just a filename (w/o extension). 4. Form 'moduleName' by repalcing '/' with '.' in 'ohmUrl'. 6. Simplify '.etscache' path resolving by 'cacheDir'/'ohmUrl'.etscache. Phases: 1. Skip "before-emit-decl" phases for 'Program's constructed from decl-caches. 2. Replace 'PhaseForBodies' and 'PhaseForDeclarations' with 'PhaseFor<ModuleKind...>' Programs. 3. Introduce 'PhaseForProgramsToBeEmitted'. Signed-off-by: Daniel Kofanov <kofanov.daniil@huawei-partners.com> Co-authored-by: nikozer <ozerov.nikita@huawei-partners.com> Co-authored-by: Zelentsov Dmitriy <zelentsov.dmitry@huawei-partners.com> Co-authored-by: Klimentieva <klimentieva.maria@h-partners.com> Co-authored-by: lirismankarina <lirisman.karina@huawei-partners.com> Co-authored-by: Amosov Alexey <amosov.alexey1@huawei-partners.com> Co-authored-by: Dmitry Pimenov <pimenov.dmitry@huawei-partners.com> Change-Id: Icef66995940b4dcd69653108cdc6e2268b52102e | 6 个月前 | |
Separated declgen from compile Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/10291 Signed-off-by: haorl <haorunlai@huawei.com> Co-Authored-By: Agent | 1 个月前 | |
Add CTE/warning for the package keyword Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/8924 Co-Authored-By: NA Signed-off-by: sergeybogdanov <sergey.bogdanov260@gmail.com> | 5 个月前 | |
Fix simultaneous AssignAnalyzer error gating Issue:https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/11780 Description: In simultaneous multi-file builds, post-check analyzers (AssignAnalyzer/AliveAnalyzer) were skipped for later units whenever any earlier unit had logged an error via IsAnyError(). Gate analyzers per program with HasErrorDiagnosticsFor() when IsBuiltSimultaneously(), keeping IsAnyError() for non-simultaneous. Reason: ESE0280 on uninitialized generic fields must be reported for every simultaneous build unit; cross-unit errors must not hide initialization diagnostics in other files. Tests: ninja tests /tests/tests-u-runner-2/runner.sh es2panda-verifier ets-runtime --extension=ets --load-runtimes=ets --force-generate --processes=all --es2panda-args=--simultaneous=true /tests/tests-u-runner-2/runner.sh es2panda-verifier parser --extension=ets --load-runtimes=ets --force-generate --processes=all /tests/tests-u-runner-2/runner.sh es2panda-verifier astchecker --extension=ets --load-runtimes=ets --force-generate --processes=all /tests/tests-u-runner-2/runner.sh es2panda-verifier ets-cts --extension=ets --load-runtimes=ets --force-generate --processes=all --es2panda-args=--simultaneous=true /tests/tests-u-runner-2/runner.sh panda-int ets-func-tests --extension=ets --load-runtimes=ets --force-generate --processes=all /tests/tests-u-runner-2/runner.sh panda-int ets-sdk --extension=ets --load-runtimes=ets --force-generate --processes=all /tests/tests-u-runner-2/runner.sh panda-int unit-tests --extension=ets --load-runtimes=ets --force-generate --processes=all all passed Co-Authored-By: Agent Signed-off-by: xingshunxiang <xingshunxiang@huawei.com> AI[97%] Human Fixed[0%] Human[3%] AI Adopted[100%] Co-authored-by: cursor (default) <ai@local> | 15 天前 | |
Add warning for export without typeann Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/9081 Signed-off-by: daizihan <daizihan@huawei.com> | 5 个月前 | |
Fix simultaneous AssignAnalyzer error gating Issue:https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/11780 Description: In simultaneous multi-file builds, post-check analyzers (AssignAnalyzer/AliveAnalyzer) were skipped for later units whenever any earlier unit had logged an error via IsAnyError(). Gate analyzers per program with HasErrorDiagnosticsFor() when IsBuiltSimultaneously(), keeping IsAnyError() for non-simultaneous. Reason: ESE0280 on uninitialized generic fields must be reported for every simultaneous build unit; cross-unit errors must not hide initialization diagnostics in other files. Tests: ninja tests /tests/tests-u-runner-2/runner.sh es2panda-verifier ets-runtime --extension=ets --load-runtimes=ets --force-generate --processes=all --es2panda-args=--simultaneous=true /tests/tests-u-runner-2/runner.sh es2panda-verifier parser --extension=ets --load-runtimes=ets --force-generate --processes=all /tests/tests-u-runner-2/runner.sh es2panda-verifier astchecker --extension=ets --load-runtimes=ets --force-generate --processes=all /tests/tests-u-runner-2/runner.sh es2panda-verifier ets-cts --extension=ets --load-runtimes=ets --force-generate --processes=all --es2panda-args=--simultaneous=true /tests/tests-u-runner-2/runner.sh panda-int ets-func-tests --extension=ets --load-runtimes=ets --force-generate --processes=all /tests/tests-u-runner-2/runner.sh panda-int ets-sdk --extension=ets --load-runtimes=ets --force-generate --processes=all /tests/tests-u-runner-2/runner.sh panda-int unit-tests --extension=ets --load-runtimes=ets --force-generate --processes=all all passed Co-Authored-By: Agent Signed-off-by: xingshunxiang <xingshunxiang@huawei.com> AI[97%] Human Fixed[0%] Human[3%] AI Adopted[100%] Co-authored-by: cursor (default) <ai@local> | 15 天前 | |
Add CTE/warning for the package keyword Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/8924 Co-Authored-By: NA Signed-off-by: sergeybogdanov <sergey.bogdanov260@gmail.com> | 5 个月前 | |
Add CTE/warning for the package keyword Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/8924 Co-Authored-By: NA Signed-off-by: sergeybogdanov <sergey.bogdanov260@gmail.com> | 5 个月前 | |
Add CTE/warning for the package keyword Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/8924 Co-Authored-By: NA Signed-off-by: sergeybogdanov <sergey.bogdanov260@gmail.com> | 5 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 5 个月前 | ||
| 9 个月前 | ||
| 1 年前 | ||
| 6 个月前 | ||
| 6 个月前 | ||
| 1 个月前 | ||
| 5 个月前 | ||
| 15 天前 | ||
| 5 个月前 | ||
| 15 天前 | ||
| 5 个月前 | ||
| 5 个月前 | ||
| 5 个月前 |