[all-commits] [llvm/llvm-project] 398b4e: [clang] detect switch fallthrough marked by a comm...

Luboš Luňák via All-commits all-commits at lists.llvm.org
Mon Feb 3 10:34:50 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 398b4ed87d488b42032c8d0304324dce76ba9b66
      https://github.com/llvm/llvm-project/commit/398b4ed87d488b42032c8d0304324dce76ba9b66
  Author: Luboš Luňák <l.lunak at centrum.cz>
  Date:   2020-02-03 (Mon, 03 Feb 2020)

  Changed paths:
    M clang/lib/Sema/AnalysisBasedWarnings.cpp
    A clang/test/Sema/fallthrough-comment.c

  Log Message:
  -----------
  [clang] detect switch fallthrough marked by a comment (PR43465)

The regex can be extended if needed, but this should probably handle
most of the cases.

Differential Revision: https://reviews.llvm.org/D73852




More information about the All-commits mailing list