[all-commits] [llvm/llvm-project] d68059: [NFC] [clangd] [Modules] Change the argument type ...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Fri Aug 30 00:16:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d68059bcfd1cc27e378c43b1f16019c5baccb06d
      https://github.com/llvm/llvm-project/commit/d68059bcfd1cc27e378c43b1f16019c5baccb06d
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-08-30 (Fri, 30 Aug 2024)

  Changed paths:
    M clang-tools-extra/clangd/ModulesBuilder.cpp

  Log Message:
  -----------
  [NFC] [clangd] [Modules] Change the argument type of IsModuleFileUpToDate to reference

It is better to use references instead of pointers as the argument type
of IsModuleFileUpToDate. Since the PrerequisiteModules is always
expected to exist.



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