[PATCH] D52670: [clang-tidy] Add new 'readability-uppercase-literal-suffix' check (CERT DCL16-C, MISRA C:2012, 7.3, MISRA C++:2008, 2-13-4)

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 13 02:54:35 PDT 2018


JonasToth added inline comments.


================
Comment at: clang-tidy/readability/UppercaseLiteralSuffixCheck.cpp:94
+  // Else, find matching suffix, case-*insensitive*ly.
+  for (const auto &PotentialNewSuffix : NewSuffixes) {
+    if (!OldSuffix.equals_lower(PotentialNewSuffix))
----------------
Is this `std::find_if`?


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D52670





More information about the cfe-commits mailing list