Commit 2fee6b8a authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Fixed QTCREATORBUG-743

parent 7669a36b
...@@ -827,7 +827,7 @@ int CppCodeCompletion::startCompletionInternal(TextEditor::BaseTextEditor *edit, ...@@ -827,7 +827,7 @@ int CppCodeCompletion::startCompletionInternal(TextEditor::BaseTextEditor *edit,
} }
QList<LookupItem> results = typeOfExpression(expression, thisDocument, lastVisibleSymbol); QList<LookupItem> results = typeOfExpression(expression, thisDocument, lastVisibleSymbol, TypeOfExpression::Preprocess);
LookupContext context = typeOfExpression.lookupContext(); LookupContext context = typeOfExpression.lookupContext();
if (results.isEmpty()) { if (results.isEmpty()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment