diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-11-18 23:33:32 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-11-18 23:33:32 +0000 |
commit | 4adba52570723c2e1654b1c01feddf759893f096 (patch) | |
tree | bbabddbffef1149beb61818d217502eecc8a0944 /include/llvm/DebugInfo.h | |
parent | a7b7a7d629c3101f6f6c87e6848e865734e0238c (diff) | |
download | external_llvm-4adba52570723c2e1654b1c01feddf759893f096.zip external_llvm-4adba52570723c2e1654b1c01feddf759893f096.tar.gz external_llvm-4adba52570723c2e1654b1c01feddf759893f096.tar.bz2 |
DebugInfo: Simplify a few more explicit constructions, underconstrained types, and make DIType(MDNode*) explicit like all the other DI* node ctors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195055 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DebugInfo.h')
-rw-r--r-- | include/llvm/DebugInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index 12cd40f..07bd832 100644 --- a/include/llvm/DebugInfo.h +++ b/include/llvm/DebugInfo.h @@ -281,7 +281,7 @@ protected: void printInternal(raw_ostream &OS) const; public: - DIType(const MDNode *N = 0) : DIScope(N) {} + explicit DIType(const MDNode *N = 0) : DIScope(N) {} /// Verify - Verify that a type descriptor is well formed. bool Verify() const; |