diff options
author | Bill Wendling <morbo@google.com> | 2024-01-10 14:57:13 -0800 |
---|---|---|
committer | Bill Wendling <morbo@google.com> | 2024-01-10 15:36:33 -0800 |
commit | 4a3fb9ce27dda17e97341f28005a28836c909cfc (patch) | |
tree | 6e244456fdade9096e4a5b182cfe1db7970b4368 /clang/lib | |
parent | 8ae8ae967406bc8cb1c21396b879681b06bdbfe6 (diff) | |
download | llvm-4a3fb9ce27dda17e97341f28005a28836c909cfc.zip llvm-4a3fb9ce27dda17e97341f28005a28836c909cfc.tar.gz llvm-4a3fb9ce27dda17e97341f28005a28836c909cfc.tar.bz2 |
[Clang] Update 'counted_by' documentation
Describe a limitation of the 'counted_by' attribute when used in unions.
Also fix a errant typo.
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/CodeGen/CGBuiltin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp index 998fcc3a..b5aee3e 100644 --- a/clang/lib/CodeGen/CGBuiltin.cpp +++ b/clang/lib/CodeGen/CGBuiltin.cpp @@ -955,7 +955,7 @@ CodeGenFunction::emitFlexibleArrayMemberSize(const Expr *E, unsigned Type, // }; // }; // - // We don't konw which 'count' to use in this scenario: + // We don't know which 'count' to use in this scenario: // // size_t get_size(struct union_of_fams *p) { // return __builtin_dynamic_object_size(p, 1); |