[Lldb-commits] [PATCH] Handle PyLong return values in LLDBSwigPython_CalculateNumChildren.

Zachary Turner zturner at google.com
Fri Mar 13 17:41:22 PDT 2015


================
Comment at: scripts/Python/python-wrapper.swig:651
@@ +650,3 @@
+    // PyInt_* are not available for Python 3 and above.
+    #if PY_MAJOR_VERSION < 3
+    if (PyInt_Check (py_return))
----------------
I think the preprocessor directives should be aligned to column 0, not to the current level of indentation.  Same goes for later in the function.

http://reviews.llvm.org/D8337

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list