diff options
author | Adrian Prantl <aprantl@apple.com> | 2016-12-16 01:01:40 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2016-12-16 01:01:40 +0000 |
commit | ed4eb86531cece1417e794ee4f9394dbb7243d4e (patch) | |
tree | ebf232452faf95d328d29da649c93d6ed656ed4c /clang/lib/CodeGen/CGDebugInfo.h | |
parent | 26e8c7df3a9832faa3a93ef86246ce3a2bfd8f4c (diff) | |
download | bcm5719-llvm-ed4eb86531cece1417e794ee4f9394dbb7243d4e.tar.gz bcm5719-llvm-ed4eb86531cece1417e794ee4f9394dbb7243d4e.zip |
Revert "Update for LLVM global variable debug info API change."
This reverts commit 289901 while investigating bot breakage.
llvm-svn: 289908
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h index 70e3d484b47..4cf7bb32380 100644 --- a/clang/lib/CodeGen/CGDebugInfo.h +++ b/clang/lib/CodeGen/CGDebugInfo.h @@ -496,14 +496,14 @@ private: llvm::DIGlobalVariable * getGlobalVariableForwardDeclaration(const VarDecl *VD); - /// Return a global variable that represents one of the collection of global - /// variables created for an anonmyous union. + /// \brief Return a global variable that represents one of the + /// collection of global variables created for an anonmyous union. /// /// Recursively collect all of the member fields of a global /// anonymous decl and create static variables for them. The first /// time this is called it needs to be on a union and then from /// there we can have additional unnamed fields. - llvm::DIGlobalVariableExpression * + llvm::DIGlobalVariable * CollectAnonRecordDecls(const RecordDecl *RD, llvm::DIFile *Unit, unsigned LineNo, StringRef LinkageName, llvm::GlobalVariable *Var, llvm::DIScope *DContext); |