[llvm-dev] RFC for f18+runtimes in LLVM

Chris Lattner via llvm-dev llvm-dev at lists.llvm.org
Tue Mar 5 10:57:08 PST 2019



> On Mar 4, 2019, at 12:03 PM, Michael Kruse <llvmdev at meinersbur.de> wrote:
> 
> Am Sa., 2. März 2019 um 11:15 Uhr schrieb Chris Lattner via llvm-dev
> <llvm-dev at lists.llvm.org>:
>> I’d be really opposed to flang reusing the Clang ASTs themselves.  C++ is already a complicated language and mixing all of Fortran's concerns (including a completely different object model) will make both of them *worse* than having them stand alone IMO.
> 
> Could there be a common base class for flang and clang AST nodes? That
> is, an abstract class that has children()/dump()/getSourceRange()?

What useful code (other than trivial dumpers) could work at that level of abstraction?

-Chris



More information about the llvm-dev mailing list