зеркало из https://github.com/microsoft/clang.git
After processing named unions do not fall through to handle anonymous unions.
This is tested by funcargs.exp in gdb testsuite. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117659 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
78f5911a4e
Коммит
f4dd962e68
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче