Skip to content

Commit 199a5ff

Browse files
committed
Changed Status to Error in a few places, fixing the build
1 parent fec7b12 commit 199a5ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1432,7 +1432,7 @@ void ClangExpressionDeclMap::FindExternalVisibleDecls(
14321432
// We couldn't find a non-symbol variable for this. Now we'll hunt for
14331433
// a generic
14341434
// data symbol, and -- if it is found -- treat it as a variable.
1435-
Status error;
1435+
Error error;
14361436

14371437
const Symbol *data_symbol =
14381438
m_parser_vars->m_sym_ctx.FindBestGlobalDataSymbol(name, error);

source/Symbol/SymbolContext.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ bool SymbolContext::GetAddressRangeFromHereToEndLine(uint32_t end_line,
800800
}
801801

802802
const Symbol *
803-
SymbolContext::FindBestGlobalDataSymbol(const ConstString &name, Status &error) {
803+
SymbolContext::FindBestGlobalDataSymbol(const ConstString &name, Error &error) {
804804
error.Clear();
805805

806806
if (!target_sp) {
@@ -811,7 +811,7 @@ SymbolContext::FindBestGlobalDataSymbol(const ConstString &name, Status &error)
811811
Module *module = module_sp.get();
812812

813813
auto ProcessMatches = [this, &name, &target, module]
814-
(SymbolContextList &sc_list, Status &error) -> const Symbol* {
814+
(SymbolContextList &sc_list, Error &error) -> const Symbol* {
815815
llvm::SmallVector<const Symbol *, 1> external_symbols;
816816
llvm::SmallVector<const Symbol *, 1> internal_symbols;
817817
const uint32_t matches = sc_list.GetSize();

0 commit comments

Comments
 (0)