Skip to content

Commit 7803d3b

Browse files
authored
Update clang/lib/Format/NumericLiteralCaseFixer.cpp
1 parent ad46ad8 commit 7803d3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/lib/Format/NumericLiteralCaseFixer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ transformComponent(StringRef Component,
6161
/// Matches against all suffixes reserved in the C++23 standard.
6262
static bool matchesReservedSuffix(StringRef Suffix) {
6363
static constexpr std::array<StringRef, 11> SortedReservedSuffixes = {
64-
"d", "h", "i", "if", "il", "min", "ms", "ns", "s", "us", "y"};
64+
"d", "h", "i", "if", "il", "min", "ms", "ns", "s", "us", "y",
65+
};
6566

6667
// This can be static_assert when we have access to constexpr is_sorted in
6768
// C++ 20.

0 commit comments

Comments
 (0)