]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Minor tweaking to comments
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 26 Jul 2015 14:38:35 +0000 (16:38 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 1 Aug 2015 20:44:23 +0000 (22:44 +0200)
args.c
ccache.c

diff --git a/args.c b/args.c
index 2b17779a15028bb45483f2c77fece95e46a0a747..91fc47e7b3155d124c2f557260149eb9b9919eb2 100644 (file)
--- a/args.c
+++ b/args.c
@@ -58,9 +58,9 @@ args_init_from_gcc_atfile(const char *filename)
        char *pos, *argtext, *argpos, *argbuf;
        char quoting;
 
-       /* Used to track quoting state; if \0, we're not
-        * inside quotes. Otherwise stores the quoting character
-        * that started it, for matching the end quote */
+       /* Used to track quoting state; if \0, we are not inside quotes. Otherwise
+        * stores the quoting character that started it, for matching the end
+        * quote */
        quoting = '\0';
 
        if (!(argtext = read_text_file(filename, 0)))
index c47e765e40ec371a4b39dffb0cd92f3184c6e86d..914dbc0a0cc2fd3ee4048adc41588e0bdb2d26c9 100644 (file)
--- a/ccache.c
+++ b/ccache.c
@@ -624,8 +624,9 @@ process_preprocessed_file(struct mdfour *hash, const char *path)
        end = data + size;
        p = data;
        q = data;
-       while (q < end - 7) { /* There must be at least 7 characters (# 1 "x") left
-                                to potentially find an include file path. */
+       /* There must be at least 7 characters (# 1 "x") left to potentially find an
+        * include file path. */
+       while (q < end - 7) {
                /*
                 * Check if we look at a line containing the file name of an included file.
                 * At least the following formats exist (where N is a positive integer):
@@ -1981,9 +1982,8 @@ cc_process_args(struct args *args, struct args **preprocessor_args,
                        continue;
                }
 
-               /* debugging is handled specially, so that we know if we
-                  can strip line number info
-               */
+               /* Debugging is handled specially, so that we know if we can strip line
+                * number info. */
                if (str_startswith(argv[i], "-g")) {
                        args_add(stripped_args, argv[i]);
                        if (conf->unify && !str_eq(argv[i], "-g0")) {