diff options
author | Florian Mayer <fmayer@google.com> | 2025-08-06 16:07:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-06 16:07:40 -0700 |
commit | a7f1702f2c5d4601de962cde14af35c313c16902 (patch) | |
tree | db13fb0d9535c4571d0d36dca5c324f86ce9547a /clang/test | |
parent | 7d3134f6cc59f47460646a13abcf824bae05d772 (diff) | |
download | llvm-a7f1702f2c5d4601de962cde14af35c313c16902.zip llvm-a7f1702f2c5d4601de962cde14af35c313c16902.tar.gz llvm-a7f1702f2c5d4601de962cde14af35c313c16902.tar.bz2 |
[NFC] [CFI] correct comment in test (#152399)
It incorrectly stated that `const char*` gets normalized to ptr, while
it should say that `char*` does.
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/CodeGen/cfi-icall-generalize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/cfi-icall-generalize.c b/clang/test/CodeGen/cfi-icall-generalize.c index 2011889..0af17e5 100644 --- a/clang/test/CodeGen/cfi-icall-generalize.c +++ b/clang/test/CodeGen/cfi-icall-generalize.c @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-unknown-linux -fsanitize=cfi-icall -fsanitize-trap=cfi-icall -emit-llvm -o - %s | FileCheck --check-prefix=CHECK --check-prefix=UNGENERALIZED %s // RUN: %clang_cc1 -triple x86_64-unknown-linux -fsanitize=cfi-icall -fsanitize-trap=cfi-icall -fsanitize-cfi-icall-generalize-pointers -emit-llvm -o - %s | FileCheck --check-prefix=CHECK --check-prefix=GENERALIZED %s -// Test that const char* is generalized to const ptr and that const char** is +// Test that const char* is generalized to const ptr and that char** is // generalized to ptr // CHECK: define{{.*}} ptr @f({{.*}} !type [[TYPE:![0-9]+]] !type [[TYPE_GENERALIZED:![0-9]+]] |