[Clang][Attr] rename btf_tag to btf_decl_tag
authorYonghong Song <yhs@fb.com>
Mon, 11 Oct 2021 23:37:36 +0000 (16:37 -0700)
committerYonghong Song <yhs@fb.com>
Tue, 12 Oct 2021 05:17:17 +0000 (22:17 -0700)
commita162b67c98066218d0d00aa13b99afb95d9bb5e6
tree5c6f36f6052677a0693970d3b4d5e474fad86ab8
parentef643617b813dd2101a09888d89091f9b143ef83
[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
16 files changed:
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/include/clang/Sema/Sema.h
clang/lib/CodeGen/CGDebugInfo.cpp
clang/lib/CodeGen/CGDebugInfo.h
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/CodeGen/attr-btf_tag-dicomposite-2.c
clang/test/CodeGen/attr-btf_tag-dicomposite.c
clang/test/CodeGen/attr-btf_tag-diglobalvariable.c
clang/test/CodeGen/attr-btf_tag-disubprogram-callsite.c
clang/test/CodeGen/attr-btf_tag-disubprogram.c
clang/test/CodeGen/attr-btf_tag-field.c
clang/test/CodeGen/attr-btf_tag-parameter.c
clang/test/Misc/pragma-attribute-supported-attributes-list.test
clang/test/Sema/attr-btf_tag.c