[llvm] r182816 - Debug Info: Reorder accessor to match field order.

David Blaikie dblaikie at gmail.com
Tue May 28 19:05:08 PDT 2013


Author: dblaikie
Date: Tue May 28 21:05:07 2013
New Revision: 182816

URL: http://llvm.org/viewvc/llvm-project?rev=182816&view=rev
Log:
Debug Info: Reorder accessor to match field order.

Modified:
    llvm/trunk/include/llvm/DebugInfo.h

Modified: llvm/trunk/include/llvm/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo.h?rev=182816&r1=182815&r2=182816&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo.h (original)
+++ llvm/trunk/include/llvm/DebugInfo.h Tue May 28 21:05:07 2013
@@ -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.





More information about the llvm-commits mailing list