[all-commits] [llvm/llvm-project] 87a004: [OpenMP] Fix formatting of OpenMP error message, b...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Jan 2 07:10:32 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 87a004d0f8c2fe5c4577d81b4306c35e77f21f9a
      https://github.com/llvm/llvm-project/commit/87a004d0f8c2fe5c4577d81b4306c35e77f21f9a
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2020-01-02 (Thu, 02 Jan 2020)

  Changed paths:
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/for_lastprivate_messages.cpp
    M clang/test/OpenMP/for_simd_lastprivate_messages.cpp
    M clang/test/OpenMP/parallel_for_lastprivate_messages.cpp
    M clang/test/OpenMP/parallel_for_simd_lastprivate_messages.cpp
    M clang/test/OpenMP/parallel_sections_lastprivate_messages.cpp
    M clang/test/OpenMP/sections_lastprivate_messages.cpp
    M clang/test/OpenMP/simd_lastprivate_messages.cpp
    M clang/test/OpenMP/target_parallel_for_lastprivate_messages.cpp
    M clang/test/OpenMP/target_parallel_for_simd_lastprivate_messages.cpp
    M clang/test/OpenMP/target_simd_lastprivate_messages.cpp

  Log Message:
  -----------
  [OpenMP] Fix formatting of OpenMP error message, by Wang Tianqing.

Summary: `getListOfPossibleValues()` formatted incorrectly when there is only one value, emitting something like `expected 'conditional' or  in OpenMP clause 'lastprivate'`.

Reviewers: jdoerfert, ABataev

Reviewed By: jdoerfert

Subscribers: guansong, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list