Skip to content

Undiagnosed syntax error (not checking dead #elif conditions) #2663

@llvmbot

Description

@llvmbot
Bugzilla Link 2291
Version unspecified
OS NetBSD
Reporter LLVM Bugzilla Contributor
CC @lattner,@efriedma-quic

Extended Description

#elif is not in a skipped group so the following must be diagnosed:

#if 1
#elif
#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillacclang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerinvalidResolved as invalid, i.e. not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions