[all-commits] [llvm/llvm-project] a162b6: [Clang][Attr] rename btf_tag to btf_decl_tag

yonghong-song via All-commits all-commits at lists.llvm.org
Mon Oct 11 22:21:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a162b67c98066218d0d00aa13b99afb95d9bb5e6
      https://github.com/llvm/llvm-project/commit/a162b67c98066218d0d00aa13b99afb95d9bb5e6
  Author: Yonghong Song <yhs at fb.com>
  Date:   2021-10-11 (Mon, 11 Oct 2021)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/clang/Sema/Sema.h
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDebugInfo.h
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/test/CodeGen/attr-btf_tag-dicomposite-2.c
    M clang/test/CodeGen/attr-btf_tag-dicomposite.c
    M clang/test/CodeGen/attr-btf_tag-diglobalvariable.c
    M clang/test/CodeGen/attr-btf_tag-disubprogram-callsite.c
    M clang/test/CodeGen/attr-btf_tag-disubprogram.c
    M clang/test/CodeGen/attr-btf_tag-field.c
    M clang/test/CodeGen/attr-btf_tag-parameter.c
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test
    M clang/test/Sema/attr-btf_tag.c

  Log Message:
  -----------
  [Clang][Attr] rename btf_tag to btf_decl_tag

Current btf_tag is applied to declaration only.
Per discussion in https://reviews.llvm.org/D111199,
we plan to introduce btf_type_tag attribute for types.
So rename btf_tag to btf_decl_tag to make it easily
differentiable from btf_type_tag.

Differential Revision: https://reviews.llvm.org/D111588




More information about the All-commits mailing list