mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Remove unnecessary throw() specifications; LLVM doesn't use exceptions.
llvm-svn: 78667
This commit is contained in:
parent
3c898a99bd
commit
cea903237c
@ -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) {
|
||||
|
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user