[all-commits] [llvm/llvm-project] 638c67: [clang][modules] NFC: Propagate import `SourceLoca...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Tue Oct 12 00:32:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 638c673a8c3e27b6532049ac17ac9bc96640fc45
      https://github.com/llvm/llvm-project/commit/638c673a8c3e27b6532049ac17ac9bc96640fc45
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2021-10-12 (Tue, 12 Oct 2021)

  Changed paths:
    M clang/include/clang/Lex/HeaderSearch.h
    M clang/lib/Frontend/CompilerInstance.cpp
    M clang/lib/Frontend/FrontendAction.cpp
    M clang/lib/Lex/HeaderSearch.cpp
    M clang/lib/Lex/PPDirectives.cpp
    M clang/lib/Lex/Pragma.cpp
    M clang/lib/Lex/Preprocessor.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/GeneratePCH.cpp

  Log Message:
  -----------
  [clang][modules] NFC: Propagate import `SourceLocation` into `HeaderSearch::lookupModule`

This patch propagates the import `SourceLocation` into `HeaderSearch::lookupModule`. This enables remarks on search path usage (implemented in D102923) to point to the source code that initiated header search.

Reviewed By: dexonsmith

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




More information about the All-commits mailing list