def METHOD_NAME(qualifier_types):
    """We want all qualifiers to point to non qualifier types.
    There are sometimes e.g. 'const restrict int' types. We want
    the 'const' type point to 'int', not 'restrict'.
    Returns dictionary {qualifier_type: modified_non_qualifier_type}.
    """
    non_qualifier_types = {}
    for k, t in qualifier_types.items():
        modified_type = t['modified_type']
        while modified_type in qualifier_types:
            modified_type = qualifier_types[modified_type]['modified_type']
        non_qualifier_types[k] = modified_type
    return non_qualifier_types