[clang] [clang][NFC] Generalize getSpecificAttr for const attributes (PR #116606)

2024-12-04 Thread Balazs Benics via cfe-commits
https://github.com/steakhal closed https://github.com/llvm/llvm-project/pull/116606 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][NFC] Generalize getSpecificAttr for const attributes (PR #116606)

2024-12-04 Thread Balazs Benics via cfe-commits
steakhal wrote: Thanks Aaron! https://github.com/llvm/llvm-project/pull/116606 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][NFC] Generalize getSpecificAttr for const attributes (PR #116606)

2024-12-04 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman approved this pull request. LGTM! https://github.com/llvm/llvm-project/pull/116606 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][NFC] Generalize getSpecificAttr for const attributes (PR #116606)

2024-11-27 Thread Balazs Benics via cfe-commits
steakhal wrote: Ping @kazutakahirata https://github.com/llvm/llvm-project/pull/116606 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][NFC] Generalize getSpecificAttr for const attributes (PR #116606)

2024-11-18 Thread Balazs Benics via cfe-commits
https://github.com/steakhal created https://github.com/llvm/llvm-project/pull/116606 This patch allows using `getSpecificAttr` for getting `const` attributes. Previously, if users of this API would want to get a const Attribute pointer, they had to pass `getSpecificAttr()`, to get it compile.

[clang] [clang][NFC] Generalize getSpecificAttr for const attributes (PR #116606)

2024-11-18 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Balazs Benics (steakhal) Changes This patch allows using `getSpecificAttr` for getting `const` attributes. Previously, if users of this API would want to get a const Attribute pointer, they had to pass `getSpecificAttr(