Skip to content
  • Richard Smith's avatar
    Add -Wimplicit-fallthrough warning flag, which warns on fallthrough between · 84837d5b
    Richard Smith authored
    cases in switch statements. Also add a [[clang::fallthrough]] attribute, which
    can be used to suppress the warning in the case of intentional fallthrough.
    
    Patch by Alexander Kornienko!
    
    The handling of C++11 attribute namespaces in this patch is temporary, and will
    be replaced with a cleaner mechanism in a subsequent patch.
    
    llvm-svn: 156086
    84837d5b
Loading