diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-22 10:37:38 -0500 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-27 08:45:45 -0500 |
commit | 808b17b1206dd70c7fbd676e8c24181cde537954 (patch) | |
tree | e20da218e1f9d702f4ff76fac9595740d375c3ed /Source/cmComputeLinkInformation.cxx | |
parent | 4470eb5179d6ccbe5e31cec758546e820752f2d8 (diff) | |
download | cmake-808b17b1206dd70c7fbd676e8c24181cde537954.tar.gz |
clang-tidy: fix `readability-make-member-function-const` warnings
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-rw-r--r-- | Source/cmComputeLinkInformation.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx index 6e1fac0f11..f32f9e93bb 100644 --- a/Source/cmComputeLinkInformation.cxx +++ b/Source/cmComputeLinkInformation.cxx @@ -951,6 +951,9 @@ void cmComputeLinkInformation::AddLinkExtension(std::string const& e, } } +// XXX(clang-tidy): This method's const-ness is platform dependent, so we +// cannot make it `const` as `clang-tidy` wants us to. +// NOLINTNEXTLINE(readability-make-member-function-const) std::string cmComputeLinkInformation::CreateExtensionRegex( std::vector<std::string> const& exts, LinkType type) { |