[all-commits] [llvm/llvm-project] 67f08b: [Clang] [Sema] Ignore invalid multiversion functio...

Evgeny Shulgin via All-commits all-commits at lists.llvm.org
Tue Sep 13 13:12:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 67f08bf1bfa85fcdc1d91a3e6cce703e94611244
      https://github.com/llvm/llvm-project/commit/67f08bf1bfa85fcdc1d91a3e6cce703e94611244
  Author: Evgeny Shulgin <izaronplatz at gmail.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/Sema/attr-target-mv.c

  Log Message:
  -----------
  [Clang] [Sema] Ignore invalid multiversion function redeclarations

If a redeclaration of a multiversion function is invalid,
it may be in a broken condition (for example, missing an important
attribute). We shouldn't analyze invalid redeclarations.

Fixes https://github.com/llvm/llvm-project/issues/57343

Reviewed By: tahonermann

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




More information about the All-commits mailing list