[all-commits] [llvm/llvm-project] 019516: [Frontend] when attaching a preamble, don't genera...

Sam McCall via All-commits all-commits at lists.llvm.org
Mon May 9 06:56:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0195163dbae962ebb48bcba32b6db85919f07370
      https://github.com/llvm/llvm-project/commit/0195163dbae962ebb48bcba32b6db85919f07370
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2022-05-09 (Mon, 09 May 2022)

  Changed paths:
    M clang/lib/Frontend/PrecompiledPreamble.cpp

  Log Message:
  -----------
  [Frontend] when attaching a preamble, don't generate the long predefines buffer.

We know we're going to overwrite it anyway.
It'd be a bit of work to coordinate not generating it at all, but setting this
flag avoids generating ~10k of the 13k string.

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




More information about the All-commits mailing list