summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/DebugInfo.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-07-06 17:46:28 +0000
committerBill Wendling <isanbard@gmail.com>2012-07-06 17:46:28 +0000
commit16d944ce1105ef1d117ad38524c2479ae3f9c759 (patch)
treef2e00cbb2e7fc62c6f04d71c66efbddec18160a1 /llvm/lib/VMCore/DebugInfo.cpp
parentec440dd77456cd358b0a2e4e912b96b11b33ce28 (diff)
downloadbcm5719-llvm-16d944ce1105ef1d117ad38524c2479ae3f9c759.tar.gz
bcm5719-llvm-16d944ce1105ef1d117ad38524c2479ae3f9c759.zip
Remove unnecessary 'llvm::'.
llvm-svn: 159841
Diffstat (limited to 'llvm/lib/VMCore/DebugInfo.cpp')
-rw-r--r--llvm/lib/VMCore/DebugInfo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/VMCore/DebugInfo.cpp b/llvm/lib/VMCore/DebugInfo.cpp
index 78df0aa630c..d7144adcb09 100644
--- a/llvm/lib/VMCore/DebugInfo.cpp
+++ b/llvm/lib/VMCore/DebugInfo.cpp
@@ -112,16 +112,16 @@ Function *DIDescriptor::getFunctionField(unsigned Elt) const {
}
unsigned DIVariable::getNumAddrElements() const {
- if (getVersion() <= llvm::LLVMDebugVersion8)
+ if (getVersion() <= LLVMDebugVersion8)
return DbgNode->getNumOperands()-6;
- if (getVersion() == llvm::LLVMDebugVersion9)
+ if (getVersion() == LLVMDebugVersion9)
return DbgNode->getNumOperands()-7;
return DbgNode->getNumOperands()-8;
}
/// getInlinedAt - If this variable is inlined then return inline location.
MDNode *DIVariable::getInlinedAt() const {
- if (getVersion() <= llvm::LLVMDebugVersion9)
+ if (getVersion() <= LLVMDebugVersion9)
return NULL;
return dyn_cast_or_null<MDNode>(DbgNode->getOperand(7));
}
@@ -734,7 +734,7 @@ DIVariable llvm::cleanseInlinedVariable(MDNode *DV, LLVMContext &VMContext) {
// Insert inlined scope as 7th element.
for (unsigned i = 0, e = DV->getNumOperands(); i != e; ++i)
i == 7 ?
- Elts.push_back(llvm::Constant::getNullValue(Type::getInt32Ty(VMContext))):
+ Elts.push_back(Constant::getNullValue(Type::getInt32Ty(VMContext))):
Elts.push_back(DV->getOperand(i));
return DIVariable(MDNode::get(VMContext, Elts));
}
OpenPOWER on IntegriCloud