[all-commits] [llvm/llvm-project] 92aba5: CPUDispatch- allow out of line member definitions

Erich Keane via All-commits all-commits at lists.llvm.org
Wed Apr 14 06:20:10 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92aba5ae49a6970c43bead0afd1e52c83fe44e6e
      https://github.com/llvm/llvm-project/commit/92aba5ae49a6970c43bead0afd1e52c83fe44e6e
  Author: Erich Keane <erich.keane at intel.com>
  Date:   2021-04-14 (Wed, 14 Apr 2021)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp
    A clang/test/CodeGenCXX/attr-cpuspecific-outoflinedefs.cpp
    M clang/test/SemaCXX/attr-cpuspecific.cpp

  Log Message:
  -----------
  CPUDispatch- allow out of line member definitions

ICC permits this, and after some extensive testing it looks like we can
support this with very little trouble.  We intentionally don't choose to
do this with attribute-target (despite it likely working as well!)
  because GCC does not support that, and introducing said
  incompatibility doesn't seem worth it.




More information about the All-commits mailing list