[all-commits] [llvm/llvm-project] cf893b: [clang][bytecode][NFC] Add a FunctionKind enum (#1...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sun Feb 2 03:09:53 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf893baf02ffe2dc1a65a6bb9334332a83a453ea
      https://github.com/llvm/llvm-project/commit/cf893baf02ffe2dc1a65a6bb9334332a83a453ea
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-02-02 (Sun, 02 Feb 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/ByteCodeEmitter.cpp
    M clang/lib/AST/ByteCode/Function.cpp
    M clang/lib/AST/ByteCode/Function.h

  Log Message:
  -----------
  [clang][bytecode][NFC] Add a FunctionKind enum (#125391)

Some function types are special to us, so add an enum and determinte the
function kind once when creating the function, instead of looking at the
Decl every time we need the information.



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