[all-commits] [llvm/llvm-project] dde4e0: clang/CodeGen: Stop using SourceManager::getBuffer...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Wed Oct 14 20:58:46 PDT 2020


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

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CodeGenAction.cpp

  Log Message:
  -----------
  clang/CodeGen: Stop using SourceManager::getBuffer, NFC

Update `clang/lib/CodeGen` to use a `MemoryBufferRef` from
`getBufferOrNone` instead of `MemoryBuffer*` from `getBuffer`. No
functionality change here.

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




More information about the All-commits mailing list