Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] gcc extensions in index tests

I think you need to provide indexer with a scanner info similar to AST2TestBase.GNU_SCANNER_INFO.

-sergey


On Mon, Aug 26, 2013 at 5:47 PM, Nathan Ridge <zeratul976@xxxxxxxxxxx> wrote:
> When writing AST tests, we can specify that we want to enable
> GNU extensions by passing useGnuExtensions=true to
> AST2TestBase.parseAndCheckBindings().
>
> Is there a similar way to enable GCC extensions for an index
> test, say in IndexCPPBindingResolutionTest? I am finding
> that, by default, GNU extensions are disabled in these tests,
> and I would like to write a test that involves code that
> uses GNU extensions for bug 411196.

Anyone? Writing an index test is the only thing holding me
back from submitting my patch for bug 411196.

Thanks,
Nate
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top