From 4af9230dbd282efe3494f5a9aa0622a246210cd4 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Wed, 29 May 2013 02:05:07 +0000 Subject: 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 --- include/llvm/DebugInfo.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index cc4352f..456de34 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. -- cgit v1.1