[all-commits] [llvm/llvm-project] dcc4f7: ARCMigrate: Stop abusing PreprocessorOptions for p...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Wed Dec 2 16:33:45 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dcc4f7f3c4b4442710ae73d6f73cded665426678
      https://github.com/llvm/llvm-project/commit/dcc4f7f3c4b4442710ae73d6f73cded665426678
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2020-12-02 (Wed, 02 Dec 2020)

  Changed paths:
    M clang/include/clang/ARCMigrate/FileRemapper.h
    M clang/lib/ARCMigrate/ARCMT.cpp
    M clang/lib/ARCMigrate/FileRemapper.cpp
    M clang/tools/arcmt-test/arcmt-test.cpp

  Log Message:
  -----------
  ARCMigrate: Stop abusing PreprocessorOptions for passing back file remappings, NFC

As part of reducing use of PreprocessorOptions::RemappedFileBuffers,
stop abusing it to pass information around remapped files in
`ARCMigrate`.  This simplifies an eventual follow-up to switch to using
an `InMemoryFileSystem` for this.

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




More information about the All-commits mailing list