INNER CODE UNIT · Python

replacement_file

mongodb/mongo-cxx-driver · .ycm_extra_conf.py:123

            replacement_file = basename + extension

            if os.path.exists(replacement_file):
                compilation_info = database.GetCompilationInfoForFile(
                    replacement_file)

                if compilation_info.compiler_flags_:
                    return compilation_info

        return None

    return database.GetCompilationInfoForFile(filename)


def FlagsForFile(filename, **kwargs):
    if database:
        # Bear in mind that compilation_info.compiler_flags_ does NOT return a
        # python list, but a "list-like" StringVec object

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…