mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 14:40:25 +00:00
Satisfy sub-optimal GCC warning.
(Clang doesn't warn here because it knows the string is benign - the assert still checks what it's intended to - though putting the correct parens does make clang-format format the code a little better) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207456 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
916c24522c
commit
686bd64d0c
@ -590,10 +590,10 @@ std::unique_ptr<DIE> DwarfDebug::constructScopeDIE(DwarfCompileUnit &TheCU,
|
||||
|
||||
DIScope DS(Scope->getScopeNode());
|
||||
|
||||
assert(Scope->getInlinedAt() ||
|
||||
(!DS.isSubprogram() && "Only handle inlined subprograms here, use "
|
||||
"constructSubprogramScopeDIE for non-inlined "
|
||||
"subprograms"));
|
||||
assert((Scope->getInlinedAt() || !DS.isSubprogram()) &&
|
||||
"Only handle inlined subprograms here, use "
|
||||
"constructSubprogramScopeDIE for non-inlined "
|
||||
"subprograms");
|
||||
|
||||
SmallVector<std::unique_ptr<DIE>, 8> Children;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user