[all-commits] [llvm/llvm-project] f9286b: [OpenMP] Attribute target diagnostics properly

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Mon Feb 15 11:17:18 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f9286b434b764b366f1aad9249c04e7741ed5518
      https://github.com/llvm/llvm-project/commit/f9286b434b764b366f1aad9249c04e7741ed5518
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/nvptx_unsupported_type_messages.cpp

  Log Message:
  -----------
  [OpenMP] Attribute target diagnostics properly

Type errors in function declarations were not (always) diagnosed prior
to this patch. Furthermore, certain remarks did not get associated
properly which caused them to be emitted multiple times.

Reviewed By: JonChesterfield

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




More information about the All-commits mailing list