[all-commits] [llvm/llvm-project] 1da132: [Diagnostics] Try to improve warning message for -...

Dávid Bolvanský via All-commits all-commits at lists.llvm.org
Sat Nov 9 08:55:08 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1da13237a41a4818005f18d3f0f6eb5bf6e46100
      https://github.com/llvm/llvm-project/commit/1da13237a41a4818005f18d3f0f6eb5bf6e46100
  Author: Dávid Bolvanský <david.bolvansky at gmail.com>
  Date:   2019-11-09 (Sat, 09 Nov 2019)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/test/Analysis/const-method-call.cpp
    M clang/test/Analysis/structured_bindings.cpp
    M clang/test/CXX/expr/expr.prim/expr.prim.lambda/p5.cpp
    M clang/test/CXX/expr/expr.prim/expr.prim.lambda/p7.cpp
    M clang/test/Driver/cc-log-diagnostics.c
    M clang/test/Frontend/absolute-paths.c
    M clang/test/Index/warning-flags.c
    M clang/test/Misc/serialized-diags-stable.c
    M clang/test/Modules/redecl-merge.m
    M clang/test/PCH/late-parsed-instantiations.cpp
    M clang/test/Sema/block-return-1.c
    M clang/test/Sema/block-return-3.c
    M clang/test/Sema/freemain.c
    M clang/test/Sema/return.c
    M clang/test/SemaCXX/attr-noreturn.cpp
    M clang/test/SemaCXX/coreturn.cpp
    M clang/test/SemaCXX/return-noreturn.cpp
    M clang/test/SemaCXX/warn-missing-noreturn.cpp
    M clang/test/SemaTemplate/late-parsing-eager-instantiation.cpp

  Log Message:
  -----------
  [Diagnostics] Try to improve warning message for -Wreturn-type

Summary: I agree with https://easyaspi314.github.io/gcc-vs-clang.html?fbclid=IwAR1VA0qxiWVUusOQUv5z7JESS7ZpeJy-UqAI5mnJscofGLqXcqeErIUB2gU, current warning message is not very good. We should try to improve it..

Reviewers: rsmith, aaron.ballman, easyaspi314

Reviewed By: aaron.ballman

Subscribers: arphaman, Quuxplusone, mehdi_amini, hiraditya, cfe-commits, llvm-commits

Tags: #clang, #llvm

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




More information about the All-commits mailing list