[all-commits] [llvm/llvm-project] a06d84: [NFC][Clang][TableGen] Refactor ClangASTNodesEmitt...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Mon Sep 16 06:35:18 PDT 2024


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

  Changed paths:
    M clang/utils/TableGen/ClangASTNodesEmitter.cpp

  Log Message:
  -----------
  [NFC][Clang][TableGen] Refactor ClangASTNodesEmitter (#108580)

Change macroName() to accept a StringRef to avoid extra string copy. 
Simplify ASTNode comparison function.
Use equal_range() instead of calling lower_bound() and upper_bound()
separately for std::multimap.
No need to use std::make_pair.



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