[all-commits] [llvm/llvm-project] 4c55c3: Frontend: Change ComputePreambleBounds to take Mem...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Wed Nov 11 14:20:16 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c55c3b66dea3a1d6058392e1e96e166d318a2ff
      https://github.com/llvm/llvm-project/commit/4c55c3b66dea3a1d6058392e1e96e166d318a2ff
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2020-11-11 (Wed, 11 Nov 2020)

  Changed paths:
    M clang-tools-extra/clangd/CodeComplete.cpp
    M clang-tools-extra/clangd/Preamble.cpp
    M clang/include/clang/Frontend/PrecompiledPreamble.h
    M clang/lib/Frontend/ASTUnit.cpp
    M clang/lib/Frontend/PrecompiledPreamble.cpp

  Log Message:
  -----------
  Frontend: Change ComputePreambleBounds to take MemoryBufferRef, NFC

Avoid requiring an actual MemoryBuffer in ComputePreambleBounds, when
a MemoryBufferRef will do just fine.

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




More information about the All-commits mailing list