[PATCH] D102492: [clang][AST] Add support for BindingDecl to ASTImporter.

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 17 10:26:59 PDT 2021


shafik added inline comments.


================
Comment at: clang/unittests/AST/ASTImporterTest.cpp:873
+  MatchVerifier<Decl> Verifier;
+  testImport("int a[2] = {1, 2};"
+             "auto [declToImport, x] = a;",
----------------
Can we add a larger variety of tests? Given how simple the `BindingDecl` case seems to be I don't expect any surprises but it would be good to verify that cases like mixed types, references and bit-fields work as expected. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102492/new/

https://reviews.llvm.org/D102492



More information about the cfe-commits mailing list