[Lldb-commits] [lldb] r219918 - Another logical-or vrs. bitwise-or mixup in ClangUserExpression.

Jason Molenda jmolenda at apple.com
Thu Oct 16 01:27:27 PDT 2014


Author: jmolenda
Date: Thu Oct 16 03:27:27 2014
New Revision: 219918

URL: http://llvm.org/viewvc/llvm-project?rev=219918&view=rev
Log:
Another logical-or vrs. bitwise-or mixup in ClangUserExpression.
clang unreachable code warning.

Modified:
    lldb/trunk/source/Expression/ClangUserExpression.cpp

Modified: lldb/trunk/source/Expression/ClangUserExpression.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/ClangUserExpression.cpp?rev=219918&r1=219917&r2=219918&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangUserExpression.cpp (original)
+++ lldb/trunk/source/Expression/ClangUserExpression.cpp Thu Oct 16 03:27:27 2014
@@ -619,10 +619,10 @@ GetObjectPointer (lldb::StackFrameSP fra
 
     valobj_sp = frame_sp->GetValueForVariableExpressionPath(object_name.AsCString(),
                                                             lldb::eNoDynamicValues,
-                                                            StackFrame::eExpressionPathOptionCheckPtrVsMember ||
-                                                            StackFrame::eExpressionPathOptionsAllowDirectIVarAccess ||
-                                                            StackFrame::eExpressionPathOptionsNoFragileObjcIvar ||
-                                                            StackFrame::eExpressionPathOptionsNoSyntheticChildren ||
+                                                            StackFrame::eExpressionPathOptionCheckPtrVsMember |
+                                                            StackFrame::eExpressionPathOptionsAllowDirectIVarAccess |
+                                                            StackFrame::eExpressionPathOptionsNoFragileObjcIvar |
+                                                            StackFrame::eExpressionPathOptionsNoSyntheticChildren |
                                                             StackFrame::eExpressionPathOptionsNoSyntheticArrayRange,
                                                             var_sp,
                                                             err);





More information about the lldb-commits mailing list