Skip to content

Commit 8ca7f32

Browse files
committed
Remove unused parameter in ClangASTContext::CreateInstance
Also restores the formatting we use upstream to fully get rid of this downstream change.
1 parent 1bcf4e4 commit 8ca7f32

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

lldb/include/lldb/Symbol/ClangASTContext.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ class ClangASTContext : public TypeSystem {
6868
static ConstString GetPluginNameStatic();
6969

7070
static lldb::TypeSystemSP CreateInstance(lldb::LanguageType language,
71-
Module *module, Target *target,
72-
const char *compiler_options);
73-
71+
Module *module, Target *target);
7472
static LanguageSet GetSupportedLanguagesForTypes();
7573
static LanguageSet GetSupportedLanguagesForExpressions();
7674

lldb/source/Symbol/ClangASTContext.cpp

+3-4
Original file line numberDiff line numberDiff line change
@@ -555,10 +555,9 @@ ConstString ClangASTContext::GetPluginName() {
555555

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

558-
lldb::TypeSystemSP
559-
ClangASTContext::CreateInstance(lldb::LanguageType language,
560-
lldb_private::Module *module, Target *target,
561-
const char *compiler_options) {
558+
lldb::TypeSystemSP ClangASTContext::CreateInstance(lldb::LanguageType language,
559+
lldb_private::Module *module,
560+
Target *target) {
562561
if (ClangASTContextSupportsLanguage(language)) {
563562
ArchSpec arch;
564563
if (module)

0 commit comments

Comments
 (0)