diff options
author | hjk <hjk@qt.io> | 2019-09-19 16:36:43 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-09-25 08:05:51 +0000 |
commit | b63034b551f08ef3e1bf921b3c531e2ce65c266b (patch) | |
tree | 53c2846714337a4c8e0bd72817097eb4def10f82 /src/plugins/debugger/sourceutils.cpp | |
parent | b144e7c4f8219513ff77e078ff0eeb825a8ca4b5 (diff) | |
download | qt-creator-b63034b551f08ef3e1bf921b3c531e2ce65c266b.tar.gz |
Debugger: Move showModule{Sections,Symbols} to DebuggerEngine
A bit closer to where the functions are used. No real change.
Change-Id: Icbad68bd31d85caa59980316537ee532faf2d7ef
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/debugger/sourceutils.cpp')
-rw-r--r-- | src/plugins/debugger/sourceutils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/sourceutils.cpp b/src/plugins/debugger/sourceutils.cpp index a08221c4e1..ea50eca8bd 100644 --- a/src/plugins/debugger/sourceutils.cpp +++ b/src/plugins/debugger/sourceutils.cpp @@ -161,7 +161,7 @@ static void blockRecursion(const Overview &overview, // Go backwards in case someone has identical variables in the same scope. // Fixme: loop variables or similar are currently seen in the outer scope for (int s = scope->memberCount() - 1; s >= 0; --s){ - const Symbol *symbol = scope->memberAt(s); + const CPlusPlus::Symbol *symbol = scope->memberAt(s); if (symbol->isDeclaration()) { // Find out about shadowed symbols by bookkeeping // the already seen occurrences in a hash. @@ -197,7 +197,7 @@ QStringList getUninitializedVariables(const Snapshot &snapshot, const Document::Ptr doc = docIt.value(); // Look at symbol at line and find its function. Either it is the // function itself or some expression/variable. - const Symbol *symbolAtLine = doc->lastVisibleSymbolAt(line, 0); + const CPlusPlus::Symbol *symbolAtLine = doc->lastVisibleSymbolAt(line, 0); if (!symbolAtLine) return result; // First figure out the function to do a safety name check |