[clang] [clang][ASTImporter] Support Importer of BuiltinBitCastExpr (PR #74813)

Qizhi Hu via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 9 00:25:09 PST 2023


================
@@ -7820,6 +7820,18 @@ ExpectedStmt ASTNodeImporter::VisitExplicitCastExpr(ExplicitCastExpr *E) {
         *ToLParenLocOrErr, OCE->getBridgeKind(), E->getCastKind(),
         *ToBridgeKeywordLocOrErr, ToTypeInfoAsWritten, ToSubExpr);
   }
+  case Stmt::BuiltinBitCastExprClass: {
+    auto *BBC = cast<BuiltinBitCastExpr>(E);
+    ExpectedSLoc ToLParenLocOrErr = import(BBC->getBeginLoc());
----------------
jcsxky wrote:

 Fixed according to your suggestion and description has been updated.

https://github.com/llvm/llvm-project/pull/74813


More information about the cfe-commits mailing list