Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1672866 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Recognize -Wimplicit-fallthrough.

Test: warn.py build.log
Change-Id: Ie55248f7348b20d09909a856fe7581a0476b9d9b
parent 639fe0c7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2268,6 +2268,9 @@ warn_patterns = [
    {'category': 'C/C++', 'severity': Severity.MEDIUM, 'option': '-Wunnamed-type-template-args',
     'description': 'Unnamed template type argument',
     'patterns': [r".*: warning: template argument.+Wunnamed-type-template-args"]},
    {'category': 'C/C++', 'severity': Severity.MEDIUM, 'option': '-Wimplicit-fallthrough',
     'description': 'Unannotated fall-through between switch labels',
     'patterns': [r".*: warning: unannotated fall-through between switch labels.+Wimplicit-fallthrough"]},

    {'category': 'C/C++', 'severity': Severity.HARMLESS,
     'description': 'Discarded qualifier from pointer target type',