[all-commits] [llvm/llvm-project] 05d0f1: Frontend: Respect -fno-temp-file when creating a PCH

Zachary Henkel via All-commits all-commits at lists.llvm.org
Thu Jun 17 18:34:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05d0f1a8ea012a6b7b8ea65893ec4121106444b5
      https://github.com/llvm/llvm-project/commit/05d0f1a8ea012a6b7b8ea65893ec4121106444b5
  Author: Zachary Henkel <zahen at microsoft.com>
  Date:   2021-06-17 (Thu, 17 Jun 2021)

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

  Log Message:
  -----------
  Frontend: Respect -fno-temp-file when creating a PCH

When creating a PCH file the use of a temp file will be dictated by the
presence or absence of the -fno-temp-file flag. Creating a module file
will always use a temp file via the new ForceUseTemporary flag.

This fixes bug 50033.




More information about the All-commits mailing list