Skip to content

warning on return value in void function should be on by default #3162

@llvmbot

Description

@llvmbot
Bugzilla Link 2790
Resolution FIXED
Resolved on Mar 12, 2010 00:57
Version unspecified
OS Windows XP
Reporter LLVM Bugzilla Contributor

Extended Description

clang misses a warning on:

void f2(int x) {
return x;
}

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