[cfe-dev] Enums for Parse, Sema & AST

Sebastian Redl sebastian.redl at getdesigned.at
Sat Mar 5 14:00:45 PST 2011


Hi,

Layering question: I've got a simple enum ExceptionSpecificationType. It's used by the parser, sema, and AST. Where do I define it?
1) Basic
2) Duplicate it in Sema/DeclSpec.h and AST/Type.h

#1 looks cleaner, but also more invasive.

Sebastian



More information about the cfe-dev mailing list