summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/SourceManager.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2011-10-12 02:08:07 +0000
committerSean Callanan <scallanan@apple.com>2011-10-12 02:08:07 +0000
commitb6d70ebc0a37c6e1657cb1f17d8f67dabefbeda8 (patch)
tree81eda6ffe0a14872577ec166e33200a4f4a67814 /lldb/source/Core/SourceManager.cpp
parent88972243638da61c7807ef9715cc2ad10b80dd42 (diff)
downloadbcm5719-llvm-b6d70ebc0a37c6e1657cb1f17d8f67dabefbeda8.tar.gz
bcm5719-llvm-b6d70ebc0a37c6e1657cb1f17d8f67dabefbeda8.zip
Added ClangNamespaceDecl * parameters to several
core Module functions that the expression parser will soon be using. llvm-svn: 141766
Diffstat (limited to 'lldb/source/Core/SourceManager.cpp')
-rw-r--r--lldb/source/Core/SourceManager.cpp3
1 files changed, 2 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud