Fix a compile error to get bots back to green.

Fixes http://lab.llvm.org:8011/builders/clang-x64-windows-msvc/builds/13716
This commit is contained in:
Aaron Ballman 2020-01-17 09:49:32 -05:00
parent f9c46229e4
commit bcda877b43
1 changed files with 3 additions and 3 deletions

View File

@ -130,12 +130,12 @@ getFailureInfoImpl(StringRef Name, bool IsInGlobalNamespace,
.getValueOr(Name);
};
if (auto Fixup = getDoubleUnderscoreFixup(InProgressFixup(), LangOpts))
AppendFailure(DoubleUnderscoreTag, *std::move(Fixup));
AppendFailure(DoubleUnderscoreTag, std::move(*Fixup));
if (auto Fixup = getUnderscoreCapitalFixup(InProgressFixup()))
AppendFailure(UnderscoreCapitalTag, *std::move(Fixup));
AppendFailure(UnderscoreCapitalTag, std::move(*Fixup));
if (auto Fixup = getUnderscoreGlobalNamespaceFixup(InProgressFixup(),
IsInGlobalNamespace))
AppendFailure(GlobalUnderscoreTag, *std::move(Fixup));
AppendFailure(GlobalUnderscoreTag, std::move(*Fixup));
return Info;
}