[cfe-commits] Separate semantic checking of EnumConstantDecl from the action

Vassil Vassilev vasil.georgiev.vasilev at cern.ch
Wed Nov 30 06:22:09 PST 2011


Hi,
   The attached patch tries to split the semantic checking from the AST 
node creation.
   I think it is useful one to be able to check already created AST 
node. Do you think that
makes sense? Can that patch end up in clang's mainline?

   If it gets in, later on I can improve the implementation of 
VisitEnumDecl not to create
new node but to reuse the old one and issue diagnostic if something was 
wrong.

   Thanks for your time!
Vassil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ActOnEnumConstSplit.diff
Type: text/x-patch
Size: 12290 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111130/bfa46f69/attachment.bin>


More information about the cfe-commits mailing list