summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-07-24 01:21:02 +0000
committerEric Christopher <echristo@gmail.com>2013-07-24 01:21:02 +0000
commitdc7ca7130afa68f2707de8f951b4293d5f763054 (patch)
tree89ad5f037ebc28e81ef5f7d672a8c7529856368f /llvm/lib
parent8f1f2e6e295c4cdf649ce4f320b4f5de8c6d10d9 (diff)
downloadbcm5719-llvm-dc7ca7130afa68f2707de8f951b4293d5f763054.tar.gz
bcm5719-llvm-dc7ca7130afa68f2707de8f951b4293d5f763054.zip
Remove unnecessary constructors as the default conversions will handle
all enumerated cases. Reformat the rest of the existing constructors to match. llvm-svn: 187015
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/IR/DebugInfo.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp
index b99f6d551a0..4b72bf39c03 100644
--- a/llvm/lib/IR/DebugInfo.cpp
+++ b/llvm/lib/IR/DebugInfo.cpp
@@ -34,24 +34,6 @@ using namespace llvm::dwarf;
// DIDescriptor
//===----------------------------------------------------------------------===//
-DIDescriptor::DIDescriptor(const DIFile F) : DbgNode(F.DbgNode) {
-}
-
-DIDescriptor::DIDescriptor(const DISubprogram F) : DbgNode(F.DbgNode) {
-}
-
-DIDescriptor::DIDescriptor(const DILexicalBlockFile F) : DbgNode(F.DbgNode) {
-}
-
-DIDescriptor::DIDescriptor(const DILexicalBlock F) : DbgNode(F.DbgNode) {
-}
-
-DIDescriptor::DIDescriptor(const DIVariable F) : DbgNode(F.DbgNode) {
-}
-
-DIDescriptor::DIDescriptor(const DIType F) : DbgNode(F.DbgNode) {
-}
-
bool DIDescriptor::Verify() const {
return DbgNode &&
(DIDerivedType(DbgNode).Verify() ||
OpenPOWER on IntegriCloud