projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Provide convenient access to the zext/sext attributes of function arguments. NFC.
[oota-llvm.git]
/
lib
/
IR
/
DebugLoc.cpp
diff --git
a/lib/IR/DebugLoc.cpp
b/lib/IR/DebugLoc.cpp
index 43360d38662cffbc1c83af68c328b5f9149fa1b5..e8bdccebae96d5445abd9fd103d61466e14055c5 100644
(file)
--- a/
lib/IR/DebugLoc.cpp
+++ b/
lib/IR/DebugLoc.cpp
@@
-76,7
+76,7
@@
MDNode *DebugLoc::getScopeNode(const LLVMContext &Ctx) const {
return getScope(Ctx);
}
return getScope(Ctx);
}
-DebugLoc DebugLoc::getFnDebugLoc(const LLVMContext &Ctx) {
+DebugLoc DebugLoc::getFnDebugLoc(const LLVMContext &Ctx)
const
{
const MDNode *Scope = getScopeNode(Ctx);
DISubprogram SP = getDISubprogram(Scope);
if (SP.isSubprogram()) {
const MDNode *Scope = getScopeNode(Ctx);
DISubprogram SP = getDISubprogram(Scope);
if (SP.isSubprogram()) {