fix: revise symbol analysis to avoid crash cases. #251
Annotations
1 error and 4 warnings
Analysis
- *<https://github.com/project-tsurugi/mizugaki/runs/27126638264?check_suite_focus=true|[Clang-Tidy] 4 warnings>*
|
cert-err58-cpp:
src/mizugaki/analyzer/details/find_element_result.h#L38
initialization of 'ambiguous' with static storage duration may throw an exception that cannot be caught
|
cppcoreguidelines-special-member-functions,hicpp-special-member-functions:
src/mizugaki/analyzer/details/relation_info.h#L21
class 'relation_info' defines a copy constructor, a copy assignment operator, a move constructor and a move assignment operator but does not define a destructor
|
google-explicit-constructor,hicpp-explicit-conversions:
src/mizugaki/analyzer/details/relation_info.h#L28
constructors that are callable with a single argument must be marked explicit to avoid unintentional implicit conversions
|
readability-inconsistent-declaration-parameter-name:
src/mizugaki/analyzer/details/query_scope.h#L32
function 'mizugaki::analyzer::details::query_scope::reserve' has a definition with different parameter names
|