[all-commits] [llvm/llvm-project] a60043: Frontend: Migrate to FileEntryRef in TextDiagnosti...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Fri Dec 11 17:11:13 PST 2020


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

  Changed paths:
    M clang/unittests/Frontend/TextDiagnosticTest.cpp

  Log Message:
  -----------
  Frontend: Migrate to FileEntryRef in TextDiagnosticTest, NFC

Migrate over to the `FileEntryRef` overloads of
`SourceManager::createFileID` and `overrideFileContents` (using
`getVirtualFileRef`) in `TextDiagnostic`'s `ShowLine` test.

No functionality change.

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




More information about the All-commits mailing list