[all-commits] [llvm/llvm-project] 4500f0: [Clang][Attributes] Allow not_tail_called attribut...

ZequanWu via All-commits all-commits at lists.llvm.org
Thu Feb 25 14:58:54 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4500f0a7321d75a061d09d92987b522e9cc09517
      https://github.com/llvm/llvm-project/commit/4500f0a7321d75a061d09d92987b522e9cc09517
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2021-02-25 (Thu, 25 Feb 2021)

  Changed paths:
    M clang/include/clang/Basic/AttrDocs.td
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/CodeGenCXX/attr-notail.cpp
    M clang/test/SemaCXX/attr-notail.cpp

  Log Message:
  -----------
  [Clang][Attributes] Allow not_tail_called attribute to be applied to virtual function.

It would be beneficial to allow not_tail_called attribute to be applied to
virtual functions. I don't see any drawback of allowing this.

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




More information about the All-commits mailing list