[clang] [clang][ASTImporter] Support Importer of BuiltinBitCastExpr (PR #74813)
Qizhi Hu via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 20 01:44:42 PST 2023
================
@@ -3220,6 +3220,12 @@ TEST_P(ImportExpr, UnresolvedMemberExpr) {
compoundStmt(has(callExpr(has(unresolvedMemberExpr())))))))));
}
+TEST_P(ImportExpr, BuiltinBitCastExpr) {
+ MatchVerifier<Decl> Verifier;
+ testImport("void declToImport(int T) { (void)__builtin_bit_cast(float, T); }",
+ Lang_CXX20, "", Lang_CXX20, Verifier, functionDecl());
+}
+
----------------
jcsxky wrote:
Oh, I see. The code has been fixed.
https://github.com/llvm/llvm-project/pull/74813
More information about the cfe-commits
mailing list