Skip to content

A2-7-3: Certain using declarations are wrongly considered undocumented.Β #398

Open
@lcartey

Description

@lcartey

Affected rules

  • A2-7-3

Description

using declarations within functions do not detect colocated documentation.

Example

#include <type_traits>
template <typename Integer> void foo(Integer i) {
  /// documentation
  using unsigned_integer = std::make_unsigned_t<Integer>;
}

void test() {
  foo<int>(1);
  foo<unsigned int>(1);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty-HighA false positive or false negative report which is expected to take 1+ week effort to addressImpact-LowStandard-AUTOSARfalse positive/false negativeAn issue related to observed false positives or false negatives.user-reportIssue reported by an end user of CodeQL Coding Standards

    Type

    No type

    Projects

    Status

    Triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions