80-column.

llvm-svn: 186995
This commit is contained in:
Eric Christopher 2013-07-23 22:16:44 +00:00
parent 09c8879456
commit c36ab001fa

View File

@ -619,7 +619,11 @@ namespace llvm {
class DILexicalBlockFile : public DIScope {
public:
explicit DILexicalBlockFile(const MDNode *N = 0) : DIScope(N) {}
DIScope getContext() const { if (getScope().isSubprogram()) return getScope(); return getScope().getContext(); }
DIScope getContext() const {
if (getScope().isSubprogram())
return getScope();
return getScope().getContext();
}
unsigned getLineNumber() const { return getScope().getLineNumber(); }
unsigned getColumnNumber() const { return getScope().getColumnNumber(); }
DILexicalBlock getScope() const { return getFieldAs<DILexicalBlock>(2); }