mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
[ScopedNoAliasAA] Replace !ScopeNodes.size() with ScopeNodes.empty()
No functional change is intended. llvm-svn: 278645
This commit is contained in:
parent
c243355212
commit
034c8790fa
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user