diff options
author | Weverything <rtrieu@google.com> | 2022-01-14 15:42:36 -0800 |
---|---|---|
committer | Weverything <rtrieu@google.com> | 2022-01-28 13:08:58 -0800 |
commit | be2147db054ec096199d1251bfab9065c7e0f29b (patch) | |
tree | 93ef5241a8abc3dfa44708fe615c60e9293a7943 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 8428c75da1ab3149292c255057173cb502729d92 (diff) | |
download | llvm-be2147db054ec096199d1251bfab9065c7e0f29b.zip llvm-be2147db054ec096199d1251bfab9065c7e0f29b.tar.gz llvm-be2147db054ec096199d1251bfab9065c7e0f29b.tar.bz2 |
Remove reference type when checking const structs
ConstStructBuilder::Finalize in CGExprConstant.ccp assumes that the
passed in QualType is a RecordType. In some instances, the type is a
reference to a RecordType and the reference needs to be removed first.
Differential Revision: https://reviews.llvm.org/D117376
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions