[PATCH] Hide pragma handler classes in ParsePragma.cpp

Reid Kleckner rnk at google.com
Wed Feb 19 15:05:56 PST 2014


Hi rsmith,

This reduces the number of files we need to touch to add a new pragma,
and reduces the number of externally visible symbols in clang.

Make the handlers structs instead of classes because the vast majority
have no private members.

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

Files:
  include/clang/Parse/Parser.h
  lib/Parse/ParsePragma.cpp
  lib/Parse/ParsePragma.h
  lib/Parse/Parser.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2834.1.patch
Type: text/x-patch
Size: 19593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140219/7a0685c7/attachment.bin>


More information about the cfe-commits mailing list