diff options
-rw-r--r-- | llvm/include/llvm/DebugInfo.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/include/llvm/DebugInfo.h b/llvm/include/llvm/DebugInfo.h index 3e4a960ea7b..0a070fe5305 100644 --- a/llvm/include/llvm/DebugInfo.h +++ b/llvm/include/llvm/DebugInfo.h @@ -251,8 +251,7 @@ T DIRef<T>::resolve(const DITypeIdentifierMap &Map) const { return T(Iter->second); } -template <typename T> -StringRef DIRef<T>::getName() const { +template <typename T> StringRef DIRef<T>::getName() const { if (!Val) return StringRef(); |