llvm-project/clang-tools-extra/test/clang-tidy/Inputs/modernize-pass-by-value/header.h

8 lines
100 B
C++

class ThreadId {
};
struct A {
A(const ThreadId &tid) : threadid(tid) {}
ThreadId threadid;
};