diff options
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 46d1447c62c..b1328ffc796 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -1839,6 +1839,7 @@ void CGDebugInfo::EmitDeclare(const VarDecl *VD, unsigned Tag, DebugFactory.InsertDeclare(Storage, D, Builder.GetInsertBlock()); Call->setDebugLoc(llvm::DebugLoc::get(Line, Column, Scope)); + return; } // If VD is an anonymous union then Storage represents value for |