Skip to content

ClangTidy warnings for cppcoreguidelines-pro-bounds-pointer-arithmetic #1669

@jviotti

Description

@jviotti
/Users/jviotti/Projects/core/src/core/yaml/yaml.cc:54:50: error: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic,-warnings-as-errors]
   54 |            item < node->data.sequence.items.top; ++item) {
      |                                                  ^

/Users/jviotti/Projects/core/src/core/yaml/yaml.cc:65:49: error: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic,-warnings-as-errors]
   65 |            pair < node->data.mapping.pairs.top; ++pair) {
      |                                                 ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions