[all-commits] [llvm/llvm-project] 0b6ddb: [clang] NFC: Add alias for std::pair<FileID, unsig...

Haojian Wu via All-commits all-commits at lists.llvm.org
Thu Jun 26 05:13:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b6ddb02efdcbdac9426e8d857499ea0580303cd
      https://github.com/llvm/llvm-project/commit/0b6ddb02efdcbdac9426e8d857499ea0580303cd
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M clang/include/clang/Basic/SourceLocation.h
    M clang/include/clang/Basic/SourceManager.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/AST/CommentLexer.cpp
    M clang/lib/AST/Expr.cpp
    M clang/lib/AST/RawCommentList.cpp
    M clang/lib/Analysis/PathDiagnostic.cpp
    M clang/lib/Basic/Diagnostic.cpp
    M clang/lib/Basic/Sarif.cpp
    M clang/lib/Basic/SourceLocation.cpp
    M clang/lib/Basic/SourceManager.cpp
    M clang/lib/Edit/Commit.cpp
    M clang/lib/Frontend/SARIFDiagnostic.cpp
    M clang/lib/Frontend/TextDiagnostic.cpp
    M clang/lib/Index/CommentToXML.cpp
    M clang/lib/Index/USRGeneration.cpp
    M clang/lib/Lex/Lexer.cpp
    M clang/lib/Lex/MacroInfo.cpp
    M clang/lib/Lex/Preprocessor.cpp
    M clang/lib/Parse/ParseStmt.cpp
    M clang/lib/Parse/ParseStmtAsm.cpp
    M clang/lib/Rewrite/Rewriter.cpp
    M clang/lib/Sema/CodeCompleteConsumer.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaObjCProperty.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
    M clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
    M clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
    M clang/lib/Tooling/Core/Replacement.cpp
    M clang/lib/Tooling/Refactoring/AtomicChange.cpp
    M clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
    M clang/lib/Tooling/Transformer/SourceCode.cpp
    M clang/tools/libclang/CIndex.cpp
    M clang/tools/libclang/CIndexHigh.cpp
    M clang/tools/libclang/CXIndexDataConsumer.cpp
    M clang/tools/libclang/CXSourceLocation.cpp
    M clang/unittests/Lex/LexerTest.cpp

  Log Message:
  -----------
  [clang] NFC: Add alias for std::pair<FileID, unsigned> used in SourceLocation (#145711)

Introduce a type alias for the commonly used `std::pair<FileID,
unsigned>` to improve code readability, and make it easier for future
updates (64-bit source locations).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list