forked from OSchip/llvm-project
DebugInfo: Remove a few unnecessary wrappers
llvm-svn: 234783
This commit is contained in:
parent
f24e76c36c
commit
7f38919e05
|
@ -513,9 +513,7 @@ public:
|
||||||
unsigned getScopeLineNumber() const { return get()->getScopeLine(); }
|
unsigned getScopeLineNumber() const { return get()->getScopeLine(); }
|
||||||
|
|
||||||
DIScopeRef getContext() const { return get()->getScope(); }
|
DIScopeRef getContext() const { return get()->getScope(); }
|
||||||
DISubroutineType getType() const {
|
DISubroutineType getType() const { return get()->getType(); }
|
||||||
return DISubroutineType(get()->getType());
|
|
||||||
}
|
|
||||||
|
|
||||||
DITypeRef getContainingType() const { return get()->getContainingType(); }
|
DITypeRef getContainingType() const { return get()->getContainingType(); }
|
||||||
|
|
||||||
|
@ -525,11 +523,9 @@ public:
|
||||||
Function *getFunction() const { return get()->getFunction(); }
|
Function *getFunction() const { return get()->getFunction(); }
|
||||||
|
|
||||||
void replaceFunction(Function *F) { get()->replaceFunction(F); }
|
void replaceFunction(Function *F) { get()->replaceFunction(F); }
|
||||||
DIArray getTemplateParams() const {
|
DIArray getTemplateParams() const { return get()->getTemplateParams(); }
|
||||||
return DIArray(get()->getTemplateParams());
|
|
||||||
}
|
|
||||||
DISubprogram getFunctionDeclaration() const {
|
DISubprogram getFunctionDeclaration() const {
|
||||||
return DISubprogram(get()->getDeclaration());
|
return get()->getDeclaration();
|
||||||
}
|
}
|
||||||
DIArray getVariables() const { return DIArray(get()->getVariables()); }
|
DIArray getVariables() const { return DIArray(get()->getVariables()); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue