[PATCH] Represent empty declaration using a new Decl node EmptyDecl and let attribute declarations appertain to EmptyDecl.

Michael Han fragmentshaders at gmail.com
Thu Feb 21 18:14:12 PST 2013


Hi rsmith,

This patch introduces a new type of Decl node "Empty" to model empty declarations, and let attribute declarations appertain to EmptyDecl so these attributes can be stored in AST. 


http://llvm-reviews.chandlerc.com/D448

Files:
  tools/libclang/RecursiveASTVisitor.h
  lib/CodeGen/CGDecl.cpp
  lib/Parse/Parser.cpp
  lib/Serialization/ASTWriterDecl.cpp
  lib/Serialization/ASTCommon.cpp
  lib/Serialization/ASTReaderDecl.cpp
  lib/Sema/SemaDeclCXX.cpp
  lib/AST/Decl.cpp
  lib/AST/DeclBase.cpp
  lib/AST/DeclPrinter.cpp
  test/Parser/cxx0x-attributes.cpp
  include/clang/Serialization/ASTBitCodes.h
  include/clang/Basic/DeclNodes.td
  include/clang/Sema/Sema.h
  include/clang/AST/Decl.h
  include/clang/AST/RecursiveASTVisitor.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D448.1.patch
Type: text/x-patch
Size: 10543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130221/9cf02c4e/attachment.bin>


More information about the cfe-commits mailing list