]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Remove last usage of legacy args_init_from_gcc_atfile function
authorJoel Rosdahl <joel@rosdahl.net>
Thu, 7 May 2020 16:57:57 +0000 (18:57 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 7 May 2020 16:57:57 +0000 (18:57 +0200)
src/argprocessing.cpp

index 15333f69eb1faccf4ded1dc438c67b6f459ebc9c..881f18ecdcba94f7ee75a511e5e816043005eaef 100644 (file)
@@ -228,7 +228,7 @@ process_arg(Context& ctx,
     if (argpath[-1] == '-') {
       ++argpath;
     }
-    auto file_args = args_init_from_gcc_atfile(argpath);
+    auto file_args = Args::from_gcc_atfile(argpath);
     if (!file_args) {
       cc_log("Couldn't read arg file %s", argpath);
       return STATS_ARGS;
@@ -251,7 +251,7 @@ process_arg(Context& ctx,
     // Argument is a comma-separated list of files.
     auto paths = Util::split_into_strings(args[i], ",");
     for (auto it = paths.rbegin(); it != paths.rend(); ++it) {
-      auto file_args = args_init_from_gcc_atfile(*it);
+      auto file_args = Args::from_gcc_atfile(*it);
       if (!file_args) {
         cc_log("Couldn't read CUDA options file %s", it->c_str());
         return STATS_ARGS;