[all-commits] [llvm/llvm-project] 78c100: [NFC][TableGen] DirectiveEmitter code cleanup (#10...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Mon Sep 9 11:35:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78c1009c3e54e59b6177deb4d74dd3a3083a3f01
      https://github.com/llvm/llvm-project/commit/78c1009c3e54e59b6177deb4d74dd3a3083a3f01
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2024-09-09 (Mon, 09 Sep 2024)

  Changed paths:
    M llvm/include/llvm/TableGen/DirectiveEmitter.h
    M llvm/utils/TableGen/DirectiveEmitter.cpp

  Log Message:
  -----------
  [NFC][TableGen] DirectiveEmitter code cleanup (#107775)

Eliminate unnecessary llvm:: prefix as this code is in llvm namespace. 
Use ArrayRef<> instead of std::vector references when appropriate. 
Use .empty() instead of .size() == 0.



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