aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorBalázs Kéri <1.int32@gmail.com>2022-03-28 08:57:11 +0200
committerBalázs Kéri <1.int32@gmail.com>2022-03-28 10:55:26 +0200
commitc5d83cdca457fd024a3f76c5e2ba649462ecde67 (patch)
treee7f5441f732d9805f26cf4d6f692320b93a59bee /llvm/lib/IR/Module.cpp
parentfcbf00f098b234c205b1ee22b982e7e575d75f14 (diff)
downloadllvm-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