[cfe-dev] Does Clang lower C++ to C at a single point in the lowering phase?

Hayden Livingston via cfe-dev cfe-dev at lists.llvm.org
Tue Sep 8 15:03:18 PDT 2015


Is there a single well-defined point beyond which the AST has been
lowered ( / desugared?) to essentially C, including expanding template
information as different types?

Or is it pretty much adhoc all over as we proceed to LLVM IR?

I don't have complicated C++ code, so writing a ClangTool is not out
of the realm of possibility for me, but I'm inquiring here if it's
already part of the compiler



More information about the cfe-dev mailing list