diff options
author | Eric Christopher <echristo@gmail.com> | 2013-07-24 00:36:11 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-07-24 00:36:11 +0000 |
commit | e389cc5f0c16dc3a41af01c95ce5a206cd0c462b (patch) | |
tree | 59cbf6c44fd9b3b36b021ca558028252239e7e03 /include | |
parent | 0f6b026158324a18c42470222feff3217cebcd16 (diff) | |
download | external_llvm-e389cc5f0c16dc3a41af01c95ce5a206cd0c462b.zip external_llvm-e389cc5f0c16dc3a41af01c95ce5a206cd0c462b.tar.gz external_llvm-e389cc5f0c16dc3a41af01c95ce5a206cd0c462b.tar.bz2 |
Remove one more of these.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187011 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/DebugInfo.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index 0323c9d..39b1e0a 100644 --- a/include/llvm/DebugInfo.h +++ b/include/llvm/DebugInfo.h @@ -346,10 +346,7 @@ namespace llvm { class DIFile : public DIScope { friend class DIDescriptor; public: - explicit DIFile(const MDNode *N = 0) : DIScope(N) { - if (DbgNode && !isFile()) - DbgNode = 0; - } + explicit DIFile(const MDNode *N = 0) : DIScope(N) {} MDNode *getFileNode() const; bool Verify() const; }; |