1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 06:22:56 +02:00

don't repeat names in comments ; NFC

llvm-svn: 257643
This commit is contained in:
Sanjay Patel 2016-01-13 17:43:35 +00:00
parent 63448e6292
commit bcf74f7f02

View File

@ -51,9 +51,9 @@ static cl::opt<bool> EnableScopedNoAlias("enable-scoped-noalias",
cl::init(true)); cl::init(true));
namespace { namespace {
/// AliasScopeNode - This is a simple wrapper around an MDNode which provides /// This is a simple wrapper around an MDNode which provides a higher-level
/// a higher-level interface by hiding the details of how alias analysis /// interface by hiding the details of how alias analysis information is encoded
/// information is encoded in its operands. /// in its operands.
class AliasScopeNode { class AliasScopeNode {
const MDNode *Node; const MDNode *Node;
@ -61,10 +61,10 @@ public:
AliasScopeNode() : Node(nullptr) {} AliasScopeNode() : Node(nullptr) {}
explicit AliasScopeNode(const MDNode *N) : Node(N) {} explicit AliasScopeNode(const MDNode *N) : Node(N) {}
/// getNode - Get the MDNode for this AliasScopeNode. /// Get the MDNode for this AliasScopeNode.
const MDNode *getNode() const { return Node; } const MDNode *getNode() const { return Node; }
/// getDomain - Get the MDNode for this AliasScopeNode's domain. /// Get the MDNode for this AliasScopeNode's domain.
const MDNode *getDomain() const { const MDNode *getDomain() const {
if (Node->getNumOperands() < 2) if (Node->getNumOperands() < 2)
return nullptr; return nullptr;