Skip to content

Commit 25d86a7

Browse files
Update ARMTargetDefEmitter.cpp
1 parent 81e3415 commit 25d86a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/TableGen/ARMTargetDefEmitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ static void EmitARMTargetDef(const RecordKeeper &RK, raw_ostream &OS) {
208208
// Name of the object in C++
209209
const std::string CppSpelling = ArchInfoName(Major, Minor, ProfileUpper);
210210
OS << "inline constexpr ArchInfo " << CppSpelling << " = {\n";
211-
CppSpellings.push_back(CppSpelling);
211+
CppSpellings.push_back(std::move(CppSpelling));
212212

213213
OS << llvm::format(" VersionTuple{%d, %d},\n", Major, Minor);
214214
OS << llvm::format(" %sProfile,\n", ProfileUpper.c_str());

0 commit comments

Comments
 (0)