[all-commits] [llvm/llvm-project] c21928: [AST][RecoveryAST] Preseve more invalid return stmt.

Haojian Wu via All-commits all-commits at lists.llvm.org
Mon Nov 30 00:27:07 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c21928285430cc25905f774a89cb948867ae55b6
      https://github.com/llvm/llvm-project/commit/c21928285430cc25905f774a89cb948867ae55b6
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2020-11-30 (Mon, 30 Nov 2020)

  Changed paths:
    M clang/lib/Sema/SemaStmt.cpp
    M clang/test/SemaCXX/constant-expression-cxx11.cpp
    M clang/test/SemaCXX/typo-correction-crash.cpp

  Log Message:
  -----------
  [AST][RecoveryAST] Preseve more invalid return stmt.

suppress the diagnostics for missing return stmt in constexpr func.

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




More information about the All-commits mailing list