[all-commits] [llvm/llvm-project] 827892: Frontend: Migrate to FileEntryRef in VerifyDiagnos...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Wed Dec 9 11:52:06 PST 2020


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

  Changed paths:
    M clang/include/clang/Basic/SourceManager.h
    M clang/lib/Frontend/VerifyDiagnosticConsumer.cpp

  Log Message:
  -----------
  Frontend: Migrate to FileEntryRef in VerifyDiagnosticConsumer.cpp, NFC

Add a `FileEntryRef` overload of `SourceManager::translateFile`, and
migrate `ParseDirective` in VerifyDiagnosticConsumer.cpp to use it and
the corresponding overload of `createFileID`.

No functionality change here.

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




More information about the All-commits mailing list