]> granicus.if.org Git - clang/commitdiff
Fix a typo in the clang user manual.
authorYunzhong Gao <Yunzhong_Gao@playstation.sony.com>
Thu, 10 Dec 2015 01:37:18 +0000 (01:37 +0000)
committerYunzhong Gao <Yunzhong_Gao@playstation.sony.com>
Thu, 10 Dec 2015 01:37:18 +0000 (01:37 +0000)
-fmax-unknown-pointer-align => -fmax-type-align

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255200 91177308-0d34-0410-b5e6-96231b3b80d8

docs/UsersManual.rst

index 5e1a6cfad89eaf4729ec68315b71308b3f8d4028..536ab6dda75c7495c0d5c423ddfd097aab5517e7 100644 (file)
@@ -1108,7 +1108,7 @@ are listed below.
    This option restricts the generated code to use general registers
    only. This only applies to the AArch64 architecture.
 
-**-f[no-]max-unknown-pointer-align=[number]**
+**-f[no-]max-type-align=[number]**
    Instruct the code generator to not enforce a higher alignment than the given
    number (of bytes) when accessing memory via an opaque pointer or reference.
    This cap is ignored when directly accessing a variable or when the pointee
@@ -1136,7 +1136,7 @@ are listed below.
 
       void initialize_vector(__aligned_v16si *v) {
         // The compiler may assume that ā€˜v’ is 64-byte aligned, regardless of the
-        // value of -fmax-unknown-pointer-align.
+        // value of -fmax-type-align.
       }