def METHOD_NAME():
    if sys.platform == "darwin":
        for path in ("/usr/local/Cellar/llvm/6.0.0/lib/libclang.dylib",
                     "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib",
                     "/Library/Developer/CommandLineTools/usr/lib/libclang.dylib"):
            if os.path.exists(path):
                return path
    elif sys.platform.startswith("linux"):
        for version in ("10", "7", "6.0", "3.8"):
            path = "/usr/lib/x86_64-linux-gnu/libclang-%s.so.1" % version
            if os.path.exists(path):
                return path
        for path in ("/usr/local/lib/libclang.so",
                     "/usr/lib/libclang.so"):
            if os.path.exists(path):
                return path