]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Doc and comment spelling fixes
authorVille Skyttä <ville.skytta@iki.fi>
Sun, 12 Jun 2016 07:02:12 +0000 (10:02 +0300)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 11 Jul 2016 19:38:44 +0000 (21:38 +0200)
HACKING.txt
MANUAL.txt
ccache.c
uncrustify.cfg

index 175871a4fecb42ecb7168dfefb1a5a067c8afeb8..e025c11d59a0e43cc343f95c6b6fd7ff49115984 100644 (file)
@@ -11,7 +11,7 @@ Code formatting
 * Put no space between function name and the following parenthesis.
 * Put one space between if/switch/for/while/do and opening curly brace.
 * Always use curly braces around if/for/while/do bodies, even if they only
-  contains one statement.
+  contain one statement.
 * If possible, keep lines at most 80 character wide for a 2 character tab
   width.
 * Use only lowercase names for functions and variables.
index 99930194b91b728b8432e28b4df6aab01871292b..5a5edd452385757159d8175e3798df7f988d7f7b 100644 (file)
@@ -367,7 +367,7 @@ WRAPPERS>>.
 
     If true, ccache will include the current working directory in the hash that
     is used to distinguish two compilations. This prevents a problem with the
-    storage of the current working directory in the debug info of a object
+    storage of the current working directory in the debug info of an object
     file, which can lead ccache to give a cached object file that has the
     working directory in the debug info set incorrectly. This option is off by
     default as the incorrect setting of this debug info rarely causes problems.
index d173df28c0548269c84382169ca4a71f435a4a96..02beab0e5397af696d77012d52b81a8716d3b0c2 100644 (file)
--- a/ccache.c
+++ b/ccache.c
@@ -1865,7 +1865,7 @@ from_cache(enum fromcache_call_mode mode, bool put_object_in_manifest)
        x_exit(0);
 }
 
-/* find the real compiler. We just search the PATH to find a executable of the
+/* find the real compiler. We just search the PATH to find an executable of the
  * same name that isn't a link to ourselves */
 static void
 find_compiler(char **argv)
index 50f0ee3ed5e2d1d2f0dcedc781dc0d97fc6d8898..ae4c0e998a024c9de884c2e316ba655a1fc909b4 100644 (file)
@@ -106,7 +106,7 @@ indent_ctor_init                         = 0        # number
 # True=indent the 'if' one level
 indent_else_if                           = false    # false/true
 
-# Amount to indent variable declarations after a open brace. neg=relative, pos=absolute
+# Amount to indent variable declarations after an open brace. neg=relative, pos=absolute
 indent_var_def_blk                       = 0        # number
 
 # Indent continued variable declarations instead of aligning.
@@ -1076,15 +1076,15 @@ nl_ds_struct_enum_close_brace            = false    # false/true
 # Related to pos_class_colon, nl_class_init_args, and pos_comma.
 nl_class_colon                           = ignore   # ignore/add/remove/force
 
-# Change simple unbraced if statements into a one-liner
+# Change simple unbraced if statements into an one-liner
 # 'if(b)\n i++;' => 'if(b) i++;'
 nl_create_if_one_liner                   = false    # false/true
 
-# Change simple unbraced for statements into a one-liner
+# Change simple unbraced for statements into an one-liner
 # 'for (i=0;i<5;i++)\n foo(i);' => 'for (i=0;i<5;i++) foo(i);'
 nl_create_for_one_liner                  = false    # false/true
 
-# Change simple unbraced while statements into a one-liner
+# Change simple unbraced while statements into an one-liner
 # 'while (i<5)\n foo(i++);' => 'while (i<5) foo(i++);'
 nl_create_while_one_liner                = false    # false/true
 
@@ -1352,7 +1352,7 @@ cmt_insert_func_header                   = ""         # string
 # Will substitute $(class) with the class name.
 cmt_insert_class_header                  = ""         # string
 
-# The filename that contains text to insert before a Obj-C message specification if the method isn't preceeded with a C/C++ comment.
+# The filename that contains text to insert before an Obj-C message specification if the method isn't preceded with a C/C++ comment.
 # Will substitute $(message) with the function name and $(javaparam) with the javadoc @param and @return stuff.
 cmt_insert_oc_msg_header                 = ""         # string