Skip to content

Commit a7789d6

Browse files
committed
[clang-format][NFC] Replace SmallVector parameter with ArrayRef
Addresses https://reviews.llvm.org/D129466#3654410.
1 parent c9e8c69 commit a7789d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: clang/lib/Format/ContinuationIndenter.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static bool shouldIndentWrappedSelectorName(const FormatStyle &Style,
3737
// Returns the length of everything up to the first possible line break after
3838
// the ), ], } or > matching \c Tok.
3939
static unsigned getLengthToMatchingParen(const FormatToken &Tok,
40-
const SmallVector<ParenState> &Stack) {
40+
ArrayRef<ParenState> Stack) {
4141
// Normally whether or not a break before T is possible is calculated and
4242
// stored in T.CanBreakBefore. Braces, array initializers and text proto
4343
// messages like `key: < ... >` are an exception: a break is possible

0 commit comments

Comments
 (0)