[all-commits] [llvm/llvm-project] 3c676e: [OPENMP]Use copy constructors instead of assignmen...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Nov 12 10:23:56 PST 2019


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

  Changed paths:
    M clang/lib/Parse/ParseOpenMP.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/test/AST/dump.cpp
    M clang/test/OpenMP/declare_reduction_messages.cpp
    M clang/test/OpenMP/for_reduction_codegen_UDR.cpp

  Log Message:
  -----------
  [OPENMP]Use copy constructors instead of assignment operators in declare
reduction initializers.

Better to use copy constructor at the initialization of the declare
reduction construct rather than assignment operator.




More information about the All-commits mailing list