[PATCH] D10833: Retrieve BinaryOperator::getOpcode and BinaryOperator::getOpcodeStr via libclang and its python interface

Argyrios Kyrtzidis via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 13 12:12:18 PST 2016


Tests need to be updated, for example:

clang/test/Index/remap-load.c:7:11: error: expected string not found in input
// CHECK: remap-load.c:2:10: BinaryOperator= Extent=[2:10 - 2:23]
          ^
<stdin>:334:1: note: scanning from here
// CHECK: remap-load.c:2:10: BinaryOperator=+ Extent=[2:10 - 2:23]
^
<stdin>:334:11: note: possible intended match here
// CHECK: remap-load.c:2:10: BinaryOperator=+ Extent=[2:10 - 2:23]
          ^


the failing tests are:

Failing Tests (9):
    Clang :: Index/blocks.c
    Clang :: Index/c-index-api-loadTU-test.m
    Clang :: Index/nested-binaryoperators.cpp
    Clang :: Index/preamble.c
    Clang :: Index/print-type.c
    Clang :: Index/print-type.cpp
    Clang :: Index/recursive-cxx-member-calls.cpp
    Clang :: Index/remap-load.c
    Clang :: Index/usrs.m


> On Jan 9, 2016, at 7:46 PM, guibufolo+llvm at gmail.com wrote:
> 
> RedX2501 added a comment.
> 
> Ping
> 
> 
> http://reviews.llvm.org/D10833
> 
> 
> 



More information about the cfe-commits mailing list