[all-commits] [llvm/llvm-project] c322d3: Forward WrapperFrontendAction::shouldEraseOutputFi...

Ben Langmuir via All-commits all-commits at lists.llvm.org
Tue Mar 31 16:20:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c322d328aa331639f647711aee44c5dddfadd337
      https://github.com/llvm/llvm-project/commit/c322d328aa331639f647711aee44c5dddfadd337
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2020-03-31 (Tue, 31 Mar 2020)

  Changed paths:
    M clang/include/clang/Frontend/FrontendAction.h
    M clang/lib/Frontend/FrontendAction.cpp

  Log Message:
  -----------
  Forward WrapperFrontendAction::shouldEraseOutputFiles()

Per the documentation, this class is supposed to forward every virtual
method, but we had missed on (shouldEraseOutputFiles). This fixes using
a wrapped frontend action over the PCH generator when using
-fallow-pch-with-compiler-errors. I do not think any upstream wrapper
actions can test this.

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

rdar://61110294




More information about the All-commits mailing list