[cfe-commits] [patch] Make LangOptions variable/mem function naming consistent

David Blaikie dblaikie at gmail.com
Sat Mar 10 18:15:10 PST 2012


Richard Smith pointed out to me the other day that the LangOptions
variable is accessed under a variety of names (Features, LangOpts,
LangInfo, LangOptions) across the Clang stack (from Lexing to the AST)
& so I thought I'd help & provide a patch to make the naming
consistent. The attached patch renames the LangOptions member to
"LangOpts" in all cases and the corresponding member function to
"getLangOpts".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: langopts_name.diff
Type: application/octet-stream
Size: 640152 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120310/7d60c220/attachment.obj>


More information about the cfe-commits mailing list