[all-commits] [llvm/llvm-project] 60ee88: [clang][asm goto][slh] Warn if asm goto + SLH

zbrid via All-commits all-commits at lists.llvm.org
Wed May 20 09:48:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 60ee885990982197013c71ff965a81e938184fd2
      https://github.com/llvm/llvm-project/commit/60ee885990982197013c71ff965a81e938184fd2
  Author: Zola Bridges <zbrid at google.com>
  Date:   2020-05-20 (Wed, 20 May 2020)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticCommonKinds.td
    M clang/lib/Parse/ParseStmtAsm.cpp
    A clang/test/Parser/slh-asm-goto-no-warn.cpp
    A clang/test/Parser/slh-asm-goto.cpp

  Log Message:
  -----------
  [clang][asm goto][slh] Warn if asm goto + SLH

Summary:
Asm goto is not supported by SLH. Warn if an instance of asm goto is detected
while SLH is enabled.

Test included.

Reviewed By: jyu2

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




More information about the All-commits mailing list