Static analyser cppcheck says:
llvm/include/llvm/DebugInfo/LogicalView/Core/LVObject.h:249:29: style: Redundant condition: Parent.Element. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition]
Source code is
assert((!Parent.Element ||
(Parent.Element && static_cast<LVElement *>(Parent.Element))) &&
"Invalid element");
Duplicates with the scope and the symbol a few lines later.