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

David Blaikie dblaikie at gmail.com
Sat Mar 10 23:06:10 PST 2012

On Sat, Mar 10, 2012 at 8:53 PM, Chris Lattner <clattner at apple.com> wrote:
> 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!

Thanks Chris, committed as r152536.

- David

More information about the cfe-commits mailing list