diff options
author | hyd-dev <yd-huang@outlook.com> | 2020-06-11 12:30:16 -0400 |
---|---|---|
committer | Erik Pilkington <erik.pilkington@gmail.com> | 2020-06-11 13:37:01 -0400 |
commit | 95d7ccb70b9cbd53f1f137c0b2411852c42c122b (patch) | |
tree | 25b738926714d3da2ec75baf54164966ad9abf51 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | eedd8fe62e3896251d5fc60009af5659d990aaf9 (diff) | |
download | llvm-95d7ccb70b9cbd53f1f137c0b2411852c42c122b.zip llvm-95d7ccb70b9cbd53f1f137c0b2411852c42c122b.tar.gz llvm-95d7ccb70b9cbd53f1f137c0b2411852c42c122b.tar.bz2 |
[PCH] Support writing BuiltinBitCastExprs to PCHs
eee944e7f adds the new BuiltinBitCastExpr, but does not set the Code member of
ASTStmtWriter. This is not correct and causes an assertion failue in
ASTStmtWriter::emit() when building PCHs that contain __builtin_bit_cast. This
commit adds serialization::EXPR_BUILTIN_BIT_CAST and handles
ASTStmtWriter::Code properly.
Differential revision: https://reviews.llvm.org/D80360
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions