aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorAnders Schau Knatten <anders@knatten.org>2024-07-01 21:08:04 +0200
committerGitHub <noreply@github.com>2024-07-01 21:08:04 +0200
commit95e823e88982127666eec76e79143f2857daa2ad (patch)
treeedb802db0b53047e5a35f65e081cbc3e466a1b91 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent2c1fb411ce3aed148a278660d215e0f88ff9b9be (diff)
downloadllvm-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