[all-commits] [llvm/llvm-project] da6a14: [clang] Enforce instantiation of constexpr templat...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Sat Jul 9 23:40:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: da6a14b91ad999327b41a9040577273591e4ad1d
      https://github.com/llvm/llvm-project/commit/da6a14b91ad999327b41a9040577273591e4ad1d
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    A clang/test/CodeGenCXX/constexpr-late-instantiation.cpp
    A clang/test/SemaCXX/constexpr-late-instantiation.cpp

  Log Message:
  -----------
  [clang] Enforce instantiation of constexpr template functions during non-constexpr evaluation

Otherwise these functions are not instantiated and we end up with an undefined
symbol.

Fix #55560

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




More information about the All-commits mailing list