[all-commits] [llvm/llvm-project] ed8dad: [Sema] Improve diagnostic about addr spaces for ov...

Anastasia Stulova via All-commits all-commits at lists.llvm.org
Fri Dec 13 04:35:45 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ed8dadb37c7e1a7f4889d868ac9b19bfe7762237
      https://github.com/llvm/llvm-project/commit/ed8dadb37c7e1a7f4889d868ac9b19bfe7762237
  Author: Anastasia Stulova <anastasia.stulova at arm.com>
  Date:   2019-12-13 (Fri, 13 Dec 2019)

  Changed paths:
    M clang/include/clang/AST/Type.h
    M clang/include/clang/Basic/Diagnostic.h
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/AST/ASTDiagnostic.cpp
    M clang/lib/AST/TypePrinter.cpp
    M clang/lib/Basic/Diagnostic.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/test/SemaCXX/address-space-references.cpp
    M clang/test/SemaOpenCL/address-spaces-conversions-cl2.0.cl
    M clang/test/SemaOpenCLCXX/address-space-lambda.cl
    M clang/test/SemaOpenCLCXX/address-space-of-this-class-scope.cl

  Log Message:
  -----------
  [Sema] Improve diagnostic about addr spaces for overload candidates

Allow sending address spaces into diagnostics to simplify and improve
error reporting. Improved wording of diagnostics for address spaces
in overloading.

Tags: #clang

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




More information about the All-commits mailing list