regex - How to check for string inequality using LLVM's FileCheck in the presence of CHECK-DAGs? -


i'm using llvm's filecheck verify results of llvm pass i've written.

i know can check 2 strings equal doing like:

check: first string = [[id:[0-9]+]] check: second string = [[id]] 

but there way check not equal? e.g., like:

check: first string = [[id:[0-9]+]] check: second string = [[!id]] 

of course check-not obvious answer, i'm using check-dag doesn't play check-not:

check-dag: can appear anywhere check-dag: first string = [[id:[0-9]+]] check-dag: second string = [[!id]] 

i'm dealing numbers here, i'll satisfied solution addresses that. if else fails, solution addresses [0-9] (no repetition) do.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -