diff options
author | Anders Schau Knatten <anders@knatten.org> | 2024-07-01 21:08:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-01 21:08:04 +0200 |
commit | 95e823e88982127666eec76e79143f2857daa2ad (patch) | |
tree | edb802db0b53047e5a35f65e081cbc3e466a1b91 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 2c1fb411ce3aed148a278660d215e0f88ff9b9be (diff) | |
download | llvm-95e823e88982127666eec76e79143f2857daa2ad.zip llvm-95e823e88982127666eec76e79143f2857daa2ad.tar.gz llvm-95e823e88982127666eec76e79143f2857daa2ad.tar.bz2 |
[clang-tidy]: Use correct term for user-provided constructor (#96617)
First of all, fix a confusion in the documentation for
pro-type-member-init which used the wrong term for a user-provided
constructor. (In the corresponding comment in ProTypeMemberInitCheck.h,
which was added in the same commit that added this documentation, we
already use the correct term).
Second, also fix a comment in the corresponding test that had the same
mistake.
https://timsong-cpp.github.io/cppwp/std23/dcl.fct.def.default#5:
> A function is user-provided if it is user-declared and not explicitly
> defaulted or deleted on its first declaration.
("user-defined constructor" is not a thing in the standard)
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions