Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST).
The member variable is always "LangOpts" and the member function is always "getLangOpts". Reviewed by Chris Lattner llvm-svn: 152536
This commit is contained in:
@@ -79,7 +79,7 @@ namespace {
|
||||
|
||||
// In C++, we may have member functions that need to be emitted at this
|
||||
// point.
|
||||
if (Ctx->getLangOptions().CPlusPlus && !D->isDependentContext()) {
|
||||
if (Ctx->getLangOpts().CPlusPlus && !D->isDependentContext()) {
|
||||
for (DeclContext::decl_iterator M = D->decls_begin(),
|
||||
MEnd = D->decls_end();
|
||||
M != MEnd; ++M)
|
||||
|
||||
Reference in New Issue
Block a user