SsergeybogdanovAdd CTE/warning for the package keyword
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
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> | 3 个月前 | |
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> | 7 个月前 | |
Support import from .abc file Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IC7O5K Signed-off-by: Ilya Trubachev <trubachev.ilya2@huawei.com> | 11 个月前 | |
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 | 4 个月前 | |
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 | 4 个月前 | |
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> | 3 个月前 | |
Add warning for export without typeann Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/9081 Signed-off-by: daizihan <daizihan@huawei.com> | 3 个月前 | |
Get completion of export var from import path Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/8723 Signed-off-by: renguangxuan <renguangxuan@huawei.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> | 3 个月前 | |
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> | 3 个月前 | |
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> | 3 个月前 |