[all-commits] [llvm/llvm-project] a94e56: Only emit -Wmicrosoft-goto in C++ mode (#138507)

Hans Wennborg via All-commits all-commits at lists.llvm.org
Mon May 5 04:40:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a94e56095808f4784afcf8e50819ba594c5e8219
      https://github.com/llvm/llvm-project/commit/a94e56095808f4784afcf8e50819ba594c5e8219
  Author: Hans Wennborg <hans at hanshq.net>
  Date:   2025-05-05 (Mon, 05 May 2025)

  Changed paths:
    M clang/lib/Sema/JumpDiagnostics.cpp
    M clang/test/Sema/warn-jump-bypasses-init.c

  Log Message:
  -----------
  Only emit -Wmicrosoft-goto in C++ mode (#138507)

Follow-up to #138009 which added diagnostics for "jump past
initialization" in C mode, in which case they're not an MS extension.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list