[clang-tools-extra] [clang-tidy][NFC] Enable `performance-unnecessary-value-param` in the codebase (PR #163686)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 22 03:10:10 PDT 2025
================
@@ -464,10 +464,9 @@ createOptionsProvider(llvm::IntrusiveRefCntPtr<vfs::FileSystem> FS) {
}
static llvm::IntrusiveRefCntPtr<vfs::FileSystem>
-getVfsFromFile(const std::string &OverlayFile,
- llvm::IntrusiveRefCntPtr<vfs::FileSystem> BaseFS) {
+getVfsFromFile(const std::string &OverlayFile, vfs::FileSystem &BaseFS) {
----------------
vbvictor wrote:
same question about `IntrusiveRefCntPtr` -> `&`
https://github.com/llvm/llvm-project/pull/163686
More information about the cfe-commits
mailing list