How to use the autoconfig.cxx_parsers_cfg.gccxml.clone function in autoconfig

To help you get started, we’ve selected a few autoconfig examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gccxml / pygccxml / unittests / start_with_declarations_tester.py View on Github external
def __init__(self, *args):
        parser_test_case.parser_test_case_t.__init__(self, *args)
        self.header = 'core_ns_join_1.hpp'
        self.config = autoconfig.cxx_parsers_cfg.gccxml.clone()
        self.config.start_with_declarations.extend(['E11', 'ns::ns12::E13'])