Skip to content

Remove unused parameter in ClangASTContext::CreateInstance #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions lldb/include/lldb/Symbol/ClangASTContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ class ClangASTContext : public TypeSystem {
static ConstString GetPluginNameStatic();

static lldb::TypeSystemSP CreateInstance(lldb::LanguageType language,
Module *module, Target *target,
const char *compiler_options);

Module *module, Target *target);
static LanguageSet GetSupportedLanguagesForTypes();
static LanguageSet GetSupportedLanguagesForExpressions();

Expand Down
7 changes: 3 additions & 4 deletions lldb/source/Symbol/ClangASTContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -555,10 +555,9 @@ ConstString ClangASTContext::GetPluginName() {

uint32_t ClangASTContext::GetPluginVersion() { return 1; }

lldb::TypeSystemSP
ClangASTContext::CreateInstance(lldb::LanguageType language,
lldb_private::Module *module, Target *target,
const char *compiler_options) {
lldb::TypeSystemSP ClangASTContext::CreateInstance(lldb::LanguageType language,
lldb_private::Module *module,
Target *target) {
if (ClangASTContextSupportsLanguage(language)) {
ArchSpec arch;
if (module)
Expand Down