[all-commits] [llvm/llvm-project] a913e8: [OPENMP]Fix PR44133: crash on lambda reductions in...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Nov 26 07:58:50 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a913e872d6e7044ae77e55c45ab3ea5304eb7262
      https://github.com/llvm/llvm-project/commit/a913e872d6e7044ae77e55c45ab3ea5304eb7262
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2019-11-26 (Tue, 26 Nov 2019)

  Changed paths:
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    A clang/test/OpenMP/declare_reduction_codegen_in_templates.cpp

  Log Message:
  -----------
  [OPENMP]Fix PR44133: crash on lambda reductions in templates.

Need to perform the instantiation of the combiner/initializer even if
the resulting type is not dependent, if the construct is defined in
templates in some cases.




More information about the All-commits mailing list