[ScopedNoAliasAA] Replace !ScopeNodes.size() with ScopeNodes.empty()

No functional change is intended.

llvm-svn: 278645
This commit is contained in:
David Majnemer 2016-08-15 02:23:48 +00:00
parent c243355212
commit 034c8790fa

View File

@ -154,7 +154,7 @@ bool ScopedNoAliasAAResult::mayAliasInScopes(const MDNode *Scopes,
SmallPtrSet<const MDNode *, 16> NANodes, ScopeNodes;
collectMDInDomain(NoAlias, Domain, NANodes);
collectMDInDomain(Scopes, Domain, ScopeNodes);
if (!ScopeNodes.size())
if (ScopeNodes.empty())
continue;
// To not alias, all of the nodes in ScopeNodes must be in NANodes.