[llvm-commits] CVS: llvm/include/Support/FileUtilities.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Dec 29 15:45:01 PST 2003
Changes in directory llvm/include/Support:
FileUtilities.h updated: 1.10 -> 1.11
---
Log message:
Add trivial exception specs to produce better code since the methods cannot
be inlined.
---
Diffs of the changes: (+3 -3)
Index: llvm/include/Support/FileUtilities.h
diff -u llvm/include/Support/FileUtilities.h:1.10 llvm/include/Support/FileUtilities.h:1.11
--- llvm/include/Support/FileUtilities.h:1.10 Mon Dec 29 15:35:04 2003
+++ llvm/include/Support/FileUtilities.h Mon Dec 29 15:43:58 2003
@@ -113,15 +113,15 @@
public:
FDHandle() : FD(-1) {}
FDHandle(int fd) : FD(fd) {}
- ~FDHandle();
+ ~FDHandle() throw();
operator int() const { return FD; }
- FDHandle &operator=(int fd);
+ FDHandle &operator=(int fd) throw();
/// take - Take ownership of the file descriptor away from the FDHandle
/// object, so that the file is not closed when the FDHandle is destroyed.
- int take();
+ int take() throw();
};
} // End llvm namespace
More information about the llvm-commits
mailing list