diff options
author | Eric Christopher <echristo@gmail.com> | 2013-07-24 01:06:21 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-07-24 01:06:21 +0000 |
commit | e72a4d4843f8f42ac6dfda6511ad6a0a57468077 (patch) | |
tree | 6f13e903578babbad3cb1a0e2de3de3ff4ff2adc /include | |
parent | 78ac65f06b0788f0cd657b2b0af5a0669322932f (diff) | |
download | llvm-e72a4d4843f8f42ac6dfda6511ad6a0a57468077.tar.gz llvm-e72a4d4843f8f42ac6dfda6511ad6a0a57468077.tar.bz2 llvm-e72a4d4843f8f42ac6dfda6511ad6a0a57468077.tar.xz |
More constructor cleanup.
Move to a single constructor with a default argument and avoid
the check and nullification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/DebugInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index 39b1e0a7db..de0eda000d 100644 --- a/include/llvm/DebugInfo.h +++ b/include/llvm/DebugInfo.h @@ -209,10 +209,10 @@ namespace llvm { void printInternal(raw_ostream &OS) const; public: + DIType(const MDNode *N = 0) : DIScope(N) {} + /// Verify - Verify that a type descriptor is well formed. bool Verify() const; - explicit DIType(const MDNode *N); - explicit DIType() {} DIScope getContext() const { return getFieldAs<DIScope>(2); } StringRef getName() const { return getStringField(3); } |