balazske added a comment.

Is there a fast way to find single-variable field declaration?

  class A {
    shared_ptr<int> F1{new int}, F2{new int[10]};
  };

The `FieldDecl` does not contain information like `DeclStmt::isSingleDecl`. The 
only way looks like to check the source locations.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117306

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to