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:
@@ -34,7 +34,7 @@ bool ASTMergeAction::BeginSourceFileAction(CompilerInstance &CI,
|
||||
void ASTMergeAction::ExecuteAction() {
|
||||
CompilerInstance &CI = getCompilerInstance();
|
||||
CI.getDiagnostics().getClient()->BeginSourceFile(
|
||||
CI.getASTContext().getLangOptions());
|
||||
CI.getASTContext().getLangOpts());
|
||||
CI.getDiagnostics().SetArgToStringFn(&FormatASTNodeDiagnosticArgument,
|
||||
&CI.getASTContext());
|
||||
IntrusiveRefCntPtr<DiagnosticIDs>
|
||||
|
||||
Reference in New Issue
Block a user