Skip to content

Commit 5154d7c

Browse files
committed
add auto qualifier.
Created using spr 1.3.6
1 parent e4e17aa commit 5154d7c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

llvm/include/llvm/Support/SpecialCaseList.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ class SpecialCaseList {
129129
std::string Name;
130130
unsigned LineNo;
131131
GlobPattern Pattern;
132-
Glob(Glob &&) = delete;
133132
};
134133

135134
std::vector<std::unique_ptr<Matcher::Glob>> Globs;

llvm/lib/Support/SpecialCaseList.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Error SpecialCaseList::Matcher::insert(StringRef Pattern, unsigned LineNumber,
5353
return Error::success();
5454
}
5555

56-
std::unique_ptr<Matcher::Glob> Glob = std::make_unique<Matcher::Glob>();
56+
auto Glob = std::make_unique<Matcher::Glob>();
5757
Glob->Name = Pattern.str();
5858
Glob->LineNo = LineNumber;
5959
// We must be sure to use the string in the map rather than the provided

0 commit comments

Comments
 (0)