Allow the user to specify a concrete USR in the external_source_symbol attribute. That will let Clang's indexer to use Swift USRs for Swift declarations that are represented with C++ declarations.
To allow the sources to conditionally enable this new extension, __has_feature is extended in Clang:
__has_feature(attribute_external_source_symbol_with_usr)
Can you explain in here what the "USR" is here/means here? Or what said string is supposed to be?