[clang-tools-extra] [clang-tidy] performance-unnecessary-copy-initialization: Consider static functions (PR #119974)

2024-12-16 Thread Barnabás Pőcze via cfe-commits
https://github.com/pobrn updated https://github.com/llvm/llvm-project/pull/119974 From ee2b0c2dc334f443fc90c6638a44ab508eb66bb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Sat, 14 Dec 2024 16:57:57 +0100 Subject: [PATCH] [clang-tidy] performance-unnecessary-copy-

[clang-tools-extra] [clang-tidy] performance-unnecessary-copy-initialization: Consider static functions (PR #119974)

2024-12-15 Thread Barnabás Pőcze via cfe-commits
pobrn wrote: > Please mention changes in Release Notes. Sorry, I hope it is fixed now. https://github.com/llvm/llvm-project/pull/119974 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] performance-unnecessary-copy-initialization: Consider static functions (PR #119974)

2024-12-15 Thread Barnabás Pőcze via cfe-commits
https://github.com/pobrn updated https://github.com/llvm/llvm-project/pull/119974 From e9cd529ef486df9b5279aef974f136c63cb367ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Sat, 14 Dec 2024 16:57:57 +0100 Subject: [PATCH] [clang-tidy] performance-unnecessary-copy-

[clang-tools-extra] [clang-tidy] performance-unnecessary-copy-initialization: Consider static functions (PR #119974)

2024-12-15 Thread Barnabás Pőcze via cfe-commits
https://github.com/pobrn updated https://github.com/llvm/llvm-project/pull/119974 From fcacca26be4350d005c08a781bf4cee29abb404e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Sat, 14 Dec 2024 16:57:57 +0100 Subject: [PATCH] [clang-tidy] performance-unnecessary-copy-

[clang-tools-extra] [clang-tidy] performance-unnecessary-copy-initialization: Consider static functions (PR #119974)

2024-12-14 Thread Barnabás Pőcze via cfe-commits
https://github.com/pobrn updated https://github.com/llvm/llvm-project/pull/119974 From 2d72c484291862fd8c9d8cea1a3ebadbe37343be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Sat, 14 Dec 2024 16:57:57 +0100 Subject: [PATCH] [clang-tidy] performance-unnecessary-copy-

[clang-tools-extra] [clang-tidy] performance-unnecessary-copy-initialization: Consider static functions (PR #119974)

2024-12-14 Thread Barnabás Pőcze via cfe-commits
https://github.com/pobrn created https://github.com/llvm/llvm-project/pull/119974 Static member functions can be considered the same way as free functions are, so do that. --- 1. Not sure how many more tests I should add, since this uses the same code paths as free functions. 2. This is the