[llvm-commits] [llvm] r78667 - in /llvm/trunk/lib/CodeGen: PBQP/PBQPMath.h RegAllocPBQP.cpp

Dan Gohman gohman at apple.com
Tue Aug 11 08:35:58 PDT 2009


Author: djg
Date: Tue Aug 11 10:35:57 2009
New Revision: 78667

URL: http://llvm.org/viewvc/llvm-project?rev=78667&view=rev
Log:
Remove unnecessary throw() specifications; LLVM doesn't use exceptions.

Modified:
    llvm/trunk/lib/CodeGen/PBQP/PBQPMath.h
    llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp

Modified: llvm/trunk/lib/CodeGen/PBQP/PBQPMath.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PBQP/PBQPMath.h?rev=78667&r1=78666&r2=78667&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/PBQP/PBQPMath.h (original)
+++ llvm/trunk/lib/CodeGen/PBQP/PBQPMath.h Tue Aug 11 10:35:57 2009
@@ -52,7 +52,7 @@
     }
 
     /// \brief Return the length of the vector
-    unsigned getLength() const throw () {
+    unsigned getLength() const {
       return length;
     }
 
@@ -143,10 +143,10 @@
     }
 
     /// \brief Return the number of rows in this matrix.
-    unsigned getRows() const throw () { return rows; }
+    unsigned getRows() const { return rows; }
 
     /// \brief Return the number of cols in this matrix.
-    unsigned getCols() const throw () { return cols; }
+    unsigned getCols() const { return cols; }
 
     /// \brief Matrix element access.
     PBQPNum* operator[](unsigned r) {

Modified: llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp?rev=78667&r1=78666&r2=78667&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp (original)
+++ llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp Tue Aug 11 10:35:57 2009
@@ -74,7 +74,7 @@
     PBQPRegAlloc() : MachineFunctionPass(&ID) {}
 
     /// Return the pass name.
-    virtual const char* getPassName() const throw() {
+    virtual const char* getPassName() const {
       return "PBQP Register Allocator";
     }
 





More information about the llvm-commits mailing list