[all-commits] [llvm/llvm-project] 1341a2: [clang][modules] Default `SourceLocation` paramete...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1341a2c19e54cec77ccb35e3b4ee3924870b2e6a
      https://github.com/llvm/llvm-project/commit/1341a2c19e54cec77ccb35e3b4ee3924870b2e6a
  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/Lex/Preprocessor.cpp

  Log Message:
  -----------
  [clang][modules] Default `SourceLocation` parameter in `HeaderSearch::lookupModule`

This fixes an LLDB build failure where the `ImportLoc` argument is missing: https://lab.llvm.org/buildbot#builders/68/builds/19975

This change also makes it possible to drop `SourceLocation()` in `Preprocessor::getCurrentModule`.




More information about the All-commits mailing list