[PATCH] D25470: [libclang] Fix a failure in a test for python bindings on CursorKind.OVERLOAD_CANDIDATE.

Igor Kudrin via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 11 06:17:39 PDT 2016


ikudrin created this revision.
ikudrin added reviewers: hansonw, compnerd.
ikudrin added a subscriber: cfe-commits.

The test fails because the value does not lay in any existing group.

The value was added in r268167.


https://reviews.llvm.org/D25470

Files:
  bindings/python/tests/cindex/test_cursor_kind.py


Index: bindings/python/tests/cindex/test_cursor_kind.py
===================================================================
--- bindings/python/tests/cindex/test_cursor_kind.py
+++ bindings/python/tests/cindex/test_cursor_kind.py
@@ -42,7 +42,8 @@
                     CursorKind.MACRO_DEFINITION,
                     CursorKind.MACRO_INSTANTIATION,
                     CursorKind.INCLUSION_DIRECTIVE,
-                    CursorKind.PREPROCESSING_DIRECTIVE):
+                    CursorKind.PREPROCESSING_DIRECTIVE,
+                    CursorKind.OVERLOAD_CANDIDATE):
             assert len(group) == 0
         else:
             assert len(group) == 1


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25470.74237.patch
Type: text/x-patch
Size: 659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161011/9b6d5a2a/attachment-0001.bin>


More information about the cfe-commits mailing list