summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-07-23 22:16:44 +0000
committerEric Christopher <echristo@gmail.com>2013-07-23 22:16:44 +0000
commitd30062cb2543f46e22016e96c68f051603380031 (patch)
treea7a463890f49a2edf3836d08c0281a1620dbdb79 /llvm
parent7f2b551d4ef469030405cc14da8c3a7586e6a869 (diff)
downloadbcm5719-llvm-d30062cb2543f46e22016e96c68f051603380031.tar.gz
bcm5719-llvm-d30062cb2543f46e22016e96c68f051603380031.zip
80-column.
llvm-svn: 186995
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/DebugInfo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/include/llvm/DebugInfo.h b/llvm/include/llvm/DebugInfo.h
index 53b1bdd5605..0eb0e24c571 100644
--- a/llvm/include/llvm/DebugInfo.h
+++ b/llvm/include/llvm/DebugInfo.h
@@ -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); }
OpenPOWER on IntegriCloud