[all-commits] [llvm/llvm-project] bd85b7: [OpenMP][SYCL] Do not crash on attempt to diagnose...

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Sat May 30 02:52:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bd85b7d6688725e854a694f9f3e8baa6a3077a4a
      https://github.com/llvm/llvm-project/commit/bd85b7d6688725e854a694f9f3e8baa6a3077a4a
  Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
  Date:   2020-05-30 (Sat, 30 May 2020)

  Changed paths:
    M clang/lib/Sema/Sema.cpp
    M clang/test/OpenMP/nvptx_unsupported_type_messages.cpp

  Log Message:
  -----------
  [OpenMP][SYCL] Do not crash on attempt to diagnose unsupported type use

Summary:
Do not ask size of type if it is dependent. ASTContext doesn't seem expecting
this.

Reviewers: jdoerfert, ABataev, bader

Reviewed By: ABataev

Subscribers: yaxunl, guansong, ebevhan, Anastasia, sstefan1, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list