git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159879
91177308-0d34-0410-b5e6-
96231b3b80d8
}
void DISubprogram::printInternal(raw_ostream &OS) const {
- StringRef Res = getName();
- if (!Res.empty())
- OS << " [" << Res << ']';
-
// TODO : Print context
-
OS << " [line " << getLineNumber() << ']';
if (isLocalToUnit())
if (getScopeLineNumber() != getLineNumber())
OS << " [scope " << getScopeLineNumber() << "]";
+
+ StringRef Res = getName();
+ if (!Res.empty())
+ OS << " [" << Res << ']';
}
void DIGlobalVariable::printInternal(raw_ostream &OS) const {