Skip to content

clang-tidy-11 spuriously reports a "error: invalid case style for template parameter 'expr-type'" #46097

@0x8000-0000

Description

@0x8000-0000
Bugzilla Link 46752
Version unspecified
OS Linux
CC @bernhardmgruber,@johnmcfarlane

Extended Description

clang version 11.0.0 (https://github.com/llvm/llvm-project.git d256b8a)

clang-tidy-11 spuriously reports a "error: invalid case style for template parameter 'expr-type'", but without specifying the location where the problem is occurring:

This is the entirety of the output:

$ /opt/clang11/bin/clang-tidy -p=../foo.clang11.dbg mysource.cpp
91188 warnings generated.
error: invalid case style for template parameter 'expr-type' [readability-identifier-naming,-warnings-as-errors]
Suppressed 91281 warnings (91187 in non-user code, 94 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
1 warning treated as error

This makes the readability-identifier-naming check less useful since we have to disable it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions