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

Chris Lattner clattner at apple.com
Sat Mar 10 20:53:28 PST 2012

On Mar 10, 2012, at 6:15 PM, David Blaikie wrote:

> 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".

Sounds good to me!


More information about the cfe-commits mailing list