diff options
author | Balázs Kéri <1.int32@gmail.com> | 2022-03-28 08:57:11 +0200 |
---|---|---|
committer | Balázs Kéri <1.int32@gmail.com> | 2022-03-28 10:55:26 +0200 |
commit | c5d83cdca457fd024a3f76c5e2ba649462ecde67 (patch) | |
tree | e7f5441f732d9805f26cf4d6f692320b93a59bee /llvm/lib/IR/Module.cpp | |
parent | fcbf00f098b234c205b1ee22b982e7e575d75f14 (diff) | |
download | llvm-c5d83cdca457fd024a3f76c5e2ba649462ecde67.zip llvm-c5d83cdca457fd024a3f76c5e2ba649462ecde67.tar.gz llvm-c5d83cdca457fd024a3f76c5e2ba649462ecde67.tar.bz2 |
[clang][ASTImporter] Fix a bug when importing CXXDefaultInitExpr.
The "in-class initializer" expression should be set in the field of a
default initialization expression before this expression node is created.
The `CXXDefaultInitExpr` objects are created after the AST is loaded and
at import not present in the "To" AST. And the in-class initializers of
the used fields can be missing too, these must be set at import.
This fixes a github issue #54061.
Reviewed By: martong
Differential Revision: https://reviews.llvm.org/D120824
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions