diff options
author | Younan Zhang <zyn7109@gmail.com> | 2023-06-14 09:59:30 +0800 |
---|---|---|
committer | Younan Zhang <zyn7109@gmail.com> | 2023-06-15 11:55:06 +0800 |
commit | 0e08374abb2c61a3ae5c24d5f60be3b548da9778 (patch) | |
tree | a822a57810161170e6eb7a3bcfcb80c1b309edc1 /clang/lib/CodeGen/CodeGenModule.h | |
parent | c42e7b81268d19cfabec3d1f14794e22a38628e7 (diff) | |
download | llvm-0e08374abb2c61a3ae5c24d5f60be3b548da9778.zip llvm-0e08374abb2c61a3ae5c24d5f60be3b548da9778.tar.gz llvm-0e08374abb2c61a3ae5c24d5f60be3b548da9778.tar.bz2 |
[clang][NFC] Add a notice to desugarForDiagnostic
`desugarForDiagnostic` only sets ShouldAKA to true if desugaring
happens, otherwise ShouldAKA is left intact and might be uninitialized.
Victims (including me):
https://github.com/llvm/llvm-project/commit/25bf8cb3c0e3c41231289a6ff0a37b6d49b24011
https://github.com/llvm/llvm-project/commit/0e8384a0fe4f03d60cd92aba1cae074512481ca2
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D152880
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions