diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-11 15:35:57 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-11 15:35:57 +0000 |
commit | 00b0a243bdf2d9675bafbdb44ac3b2df768878b3 (patch) | |
tree | aa172e44e91c6eab7cc1f182ed2dbade9ff88db7 | |
parent | 764ab52dd80310a205c9888bf166d09dab858f90 (diff) | |
download | external_llvm-00b0a243bdf2d9675bafbdb44ac3b2df768878b3.zip external_llvm-00b0a243bdf2d9675bafbdb44ac3b2df768878b3.tar.gz external_llvm-00b0a243bdf2d9675bafbdb44ac3b2df768878b3.tar.bz2 |
Remove unnecessary throw() specifications; LLVM doesn't use exceptions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78667 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/PBQP/PBQPMath.h | 6 | ||||
-rw-r--r-- | lib/CodeGen/RegAllocPBQP.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/PBQP/PBQPMath.h b/lib/CodeGen/PBQP/PBQPMath.h index 9bcaf4d..11f4b4b 100644 --- a/lib/CodeGen/PBQP/PBQPMath.h +++ b/lib/CodeGen/PBQP/PBQPMath.h @@ -52,7 +52,7 @@ class Vector { } /// \brief Return the length of the vector - unsigned getLength() const throw () { + unsigned getLength() const { return length; } @@ -143,10 +143,10 @@ class Matrix { } /// \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) { diff --git a/lib/CodeGen/RegAllocPBQP.cpp b/lib/CodeGen/RegAllocPBQP.cpp index 9e77abc..c0a7cac 100644 --- a/lib/CodeGen/RegAllocPBQP.cpp +++ b/lib/CodeGen/RegAllocPBQP.cpp @@ -74,7 +74,7 @@ namespace { PBQPRegAlloc() : MachineFunctionPass(&ID) {} /// Return the pass name. - virtual const char* getPassName() const throw() { + virtual const char* getPassName() const { return "PBQP Register Allocator"; } |