summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-05-29 02:05:07 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-05-29 02:05:07 +0000
commit4af9230dbd282efe3494f5a9aa0622a246210cd4 (patch)
treed5d9e9319f7cf67f00b7a36766cb469a379f1915 /include
parentc57905ef4dfc7a8b573efbf8e0a1f9580d98bfe8 (diff)
downloadllvm-4af9230dbd282efe3494f5a9aa0622a246210cd4.tar.gz
llvm-4af9230dbd282efe3494f5a9aa0622a246210cd4.tar.bz2
llvm-4af9230dbd282efe3494f5a9aa0622a246210cd4.tar.xz
Debug Info: Reorder accessor to match field order.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182816 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/DebugInfo.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h
index cc4352f27a..456de34c78 100644
--- a/include/llvm/DebugInfo.h
+++ b/include/llvm/DebugInfo.h
@@ -467,11 +467,6 @@ namespace llvm {
unsigned isOptimized() const;
- /// getScopeLineNumber - Get the beginning of the scope of the
- /// function, not necessarily where the name of the program
- /// starts.
- unsigned getScopeLineNumber() const { return getUnsignedField(19); }
-
/// Verify - Verify that a subprogram descriptor is well formed.
bool Verify() const;
@@ -487,6 +482,11 @@ namespace llvm {
}
MDNode *getVariablesNodes() const;
DIArray getVariables() const;
+
+ /// getScopeLineNumber - Get the beginning of the scope of the
+ /// function, not necessarily where the name of the program
+ /// starts.
+ unsigned getScopeLineNumber() const { return getUnsignedField(19); }
};
/// DIGlobalVariable - This is a wrapper for a global variable.