From c3fbcb415f53d5c4a94f54845ebb41e30e33776e Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Wed, 12 Oct 2011 02:08:07 +0000 Subject: Added ClangNamespaceDecl * parameters to several core Module functions that the expression parser will soon be using. --- lldb/source/Core/SourceManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lldb/source/Core/SourceManager.cpp') diff --git a/lldb/source/Core/SourceManager.cpp b/lldb/source/Core/SourceManager.cpp index 743f2d1163c..482ccbbcdb0 100644 --- a/lldb/source/Core/SourceManager.cpp +++ b/lldb/source/Core/SourceManager.cpp @@ -16,6 +16,7 @@ #include "lldb/Core/DataBuffer.h" #include "lldb/Core/Debugger.h" #include "lldb/Core/Stream.h" +#include "lldb/Symbol/ClangNamespaceDecl.h" #include "lldb/Symbol/SymbolContext.h" #include "lldb/Target/Target.h" @@ -244,7 +245,7 @@ SourceManager::GetDefaultFileAndLine (FileSpec &file_spec, uint32_t &line) ConstString main_name("main"); bool symbols_okay = false; // Force it to be a debug symbol. bool append = false; - num_matches = executable_ptr->FindFunctions (main_name, lldb::eFunctionNameTypeBase, symbols_okay, append, sc_list); + num_matches = executable_ptr->FindFunctions (main_name, NULL, lldb::eFunctionNameTypeBase, symbols_okay, append, sc_list); for (uint32_t idx = 0; idx < num_matches; idx++) { SymbolContext sc; -- cgit v1.2.3