forked from OSchip/llvm-project
Change '|' to '&' in conditional.
Bitwise-or with a non-zero constant will always evaluate to true. Switch to bitwise-and which will only evalute to true if the specified bit is set in the other operand. llvm-svn: 367386
This commit is contained in:
parent
b22860da61
commit
33cdbff2a7
|
@ -735,7 +735,7 @@ SymbolFilePDB::ResolveSymbolContext(const lldb_private::Address &so_addr,
|
|||
resolve_scope & eSymbolContextLineEntry) {
|
||||
auto cu_sp = GetCompileUnitContainsAddress(so_addr);
|
||||
if (!cu_sp) {
|
||||
if (resolved_flags | eSymbolContextVariable) {
|
||||
if (resolved_flags & eSymbolContextVariable) {
|
||||
// TODO: Resolve variables
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue