[all-commits] [llvm/llvm-project] 946c45: Implement soft reset of the diagnostics engine.

Tapasweni Pathak via All-commits all-commits at lists.llvm.org
Fri Jun 24 07:47:19 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 946c45a4ed5d5e2f262110a27390369f0d8fc3eb
  Author: Tapasweni Pathak <tapaswenipathak at gmail.com>
  Date:   2022-06-24 (Fri, 24 Jun 2022)

  Changed paths:
    M clang/include/clang/Basic/Diagnostic.h
    M clang/lib/Basic/Diagnostic.cpp
    M clang/lib/Interpreter/IncrementalParser.cpp
    M clang/tools/clang-repl/ClangRepl.cpp
    M clang/unittests/Basic/DiagnosticTest.cpp

  Log Message:
  Implement soft reset of the diagnostics engine.

This patch implements soft reset and adds tests for soft reset success of the
diagnostics engine. This allows us to recover from errors in clang-repl without
resetting the pragma handlers' state.

Differential revision: https://reviews.llvm.org/D126183

More information about the All-commits mailing list