Skip to content

Commit 67ff27c

Browse files
committed
review: remove forced copy
1 parent d725cdb commit 67ff27c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Frontend/HLSL/HLSLRootSignature.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ template <class... Ts> OverloadMethods(Ts...) -> OverloadMethods<Ts...>;
159159
void dumpRootElements(raw_ostream &OS, ArrayRef<RootElement> Elements) {
160160
OS << "RootElements{";
161161
bool First = true;
162-
for (auto Element : Elements) {
162+
for (const RootElement &Element : Elements) {
163163
if (!First)
164164
OS << ",";
165165
OS << " ";

0 commit comments

Comments
 (0)