[all-commits] [llvm/llvm-project] 523c47: Reapply "[clang] NFCI: Adopt `SourceManager::getFi...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Fri Sep 8 19:05:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 523c471250a49b5603bd907ff05535f18ef61c91
      https://github.com/llvm/llvm-project/commit/523c471250a49b5603bd907ff05535f18ef61c91
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M clang/include/clang/ASTMatchers/ASTMatchers.h
    M clang/include/clang/Basic/SourceLocation.h
    M clang/lib/ARCMigrate/ARCMT.cpp
    M clang/lib/ARCMigrate/ObjCMT.cpp
    M clang/lib/ARCMigrate/PlistReporter.cpp
    M clang/lib/AST/MicrosoftMangle.cpp
    M clang/lib/Analysis/PathDiagnostic.cpp
    M clang/lib/Basic/SourceLocation.cpp
    M clang/lib/Basic/SourceManager.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/Frontend/ASTUnit.cpp
    M clang/lib/Frontend/FrontendAction.cpp
    M clang/lib/Frontend/HeaderIncludeGen.cpp
    M clang/lib/Frontend/LogDiagnosticPrinter.cpp
    M clang/lib/Frontend/PrecompiledPreamble.cpp
    M clang/lib/Frontend/Rewrite/FixItRewriter.cpp
    M clang/lib/Frontend/Rewrite/HTMLPrint.cpp
    M clang/lib/Frontend/SARIFDiagnostic.cpp
    M clang/lib/Frontend/TextDiagnostic.cpp
    M clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
    M clang/lib/Index/CommentToXML.cpp
    M clang/lib/Index/USRGeneration.cpp
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaModule.cpp
    M clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
    M clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
    M clang/lib/Tooling/Core/Replacement.cpp
    M clang/lib/Tooling/Refactoring/AtomicChange.cpp
    M clang/lib/Tooling/Refactoring/Rename/USRFindingAction.cpp
    M clang/lib/Tooling/Syntax/Tokens.cpp

  Log Message:
  -----------
  Reapply "[clang] NFCI: Adopt `SourceManager::getFileEntryRefForID()`"

This reapplies ddbcc10b9e26b18f6a70e23d0611b9da75ffa52f, except for a tiny part that was reverted separately: 65331da0032ab4253a4bc0ddcb2da67664bd86a9. That will be reapplied later on, since it turned out to be more involved.

This commit is enabled by 5523fefb01c282c4cbcaf6314a9aaf658c6c145f and f0f548a65a215c450d956dbcedb03656449705b9, specifically the part that makes 'clang-tidy/checkers/misc/header-include-cycle.cpp' separator agnostic.




More information about the All-commits mailing list