[all-commits] [llvm/llvm-project] 494aac: Tooling: Migrate some tests to FileEntryRef, NFC

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Thu Dec 10 18:09:27 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 494aacd72c6a85a6d586fa58a8481e13b68acf24
      https://github.com/llvm/llvm-project/commit/494aacd72c6a85a6d586fa58a8481e13b68acf24
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2020-12-10 (Thu, 10 Dec 2020)

  Changed paths:
    M clang/unittests/Tooling/RefactoringTest.cpp
    M clang/unittests/Tooling/RewriterTestContext.h

  Log Message:
  -----------
  Tooling: Migrate some tests to FileEntryRef, NFC

Migrate to the `FileEntryRef` overload of `SourceManager::createFileID`
(using `FileManager::getOptionalFileRef`) in RefactoringTest.cpp and
RewriterTestContext.h.

No functionality change.

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




More information about the All-commits mailing list