mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 11:06:33 +00:00
[x-project tests] Fix ambiguity in call to createStringError (NFC)
Fixes: https://lab.llvm.org/buildbot/#/builders/139/builds/66928/ https://lab.llvm.org/buildbot/#/builders/216/builds/40166/
This commit is contained in:
parent
539b72f2e1
commit
70550cd6aa
@ -18,7 +18,7 @@ llvm::MutableArrayRef<int> MutableArrayRef(Array);
|
||||
llvm::DenseMap<int, int> DenseMap = {{4, 5}, {6, 7}};
|
||||
llvm::StringMap<int> StringMap = {{"foo", 123}, {"bar", 456}};
|
||||
llvm::Expected<int> ExpectedValue(8);
|
||||
llvm::Expected<int> ExpectedError(llvm::createStringError({}, ""));
|
||||
llvm::Expected<int> ExpectedError(llvm::createStringError(""));
|
||||
std::optional<int> OptionalValue(9);
|
||||
std::optional<int> OptionalNone(std::nullopt);
|
||||
llvm::SmallVector<int, 5> SmallVector = {10, 11, 12};
|
||||
|
Loading…
x
Reference in New Issue
Block a user