Skip to content

Implement defined but not used diagnostic for statics #2608

@llvmbot

Description

@llvmbot
Bugzilla Link 2236
Resolution FIXED
Resolved on Mar 12, 2010 00:57
Version unspecified
OS NetBSD
Blocks llvm/llvm-bugzilla-archive#2417
Reporter LLVM Bugzilla Contributor

Extended Description

Nate's recent changes cause a bogus diagnostic:

static void a (void);
void b (void) { a (); }
static void a(void) {}

/tmp/bug.c:3:13: warning: static 'a' defined but not used

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions