llnl / llnl/rose

How to unparse type declarations?

Open
#263 2 comments 0 reactions 1 assignee View on GitHub

@chunhualiao is already working on this.

Since Jul 18, 2023.

Dominant language
C
Stars
688
Forks
144
PR merge metrics
No merged PRs in 30d

Description

I have written an outliner for a code region to a new source file with that code region put in a function. In order for this new source file to be compilable, I need to include all type declarations needed for that code region. I have successfully collected all the types referenced.

Are there some utilities I can use to unparse the type declaration taking care of the order of type declaration in the presences of various C/C++ language features like namespace, typedef, nested type declaration, etc?

Thanks a lot!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.