Inject llvm::SmallBitVector into namespace swift;

I also eliminated all llvm:: before SmallBitVector in the code base.
This commit is contained in:
Michael Gottesman
2018-09-21 08:54:14 -07:00
parent 2cf1f63377
commit c62f31f5dc
23 changed files with 86 additions and 84 deletions

View File

@@ -114,7 +114,7 @@ areConservativelyCompatibleArgumentLabels(ValueDecl *decl,
}
auto params = levelTy->getParams();
llvm::SmallBitVector defaultMap =
SmallBitVector defaultMap =
computeDefaultMap(params, decl, parameterDepth);
MatchCallArgumentListener listener;
@@ -138,7 +138,7 @@ static ConstraintSystem::TypeMatchOptions getDefaultDecompositionOptions(
bool constraints::
matchCallArguments(ArrayRef<AnyFunctionType::Param> args,
ArrayRef<AnyFunctionType::Param> params,
const llvm::SmallBitVector &defaultMap,
const SmallBitVector &defaultMap,
bool hasTrailingClosure,
bool allowFixes,
MatchCallArgumentListener &listener,
@@ -770,7 +770,7 @@ constraints::matchCallArguments(ConstraintSystem &cs, bool isOperator,
std::tie(callee, calleeLevel, argLabels, hasTrailingClosure) =
getCalleeDeclAndArgs(cs, locator, argLabelsScratch);
llvm::SmallBitVector defaultMap =
SmallBitVector defaultMap =
computeDefaultMap(params, callee, calleeLevel);
// Apply labels to arguments.