forked from qt-creator/qt-creator
CppTools: modernize
Change-Id: Iaf02e4d026f1ac8b216833d83cd7a735e21ff60a Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -36,7 +36,7 @@ namespace {
|
||||
class FindLocalSymbols: protected ASTVisitor
|
||||
{
|
||||
public:
|
||||
FindLocalSymbols(Document::Ptr doc)
|
||||
explicit FindLocalSymbols(Document::Ptr doc)
|
||||
: ASTVisitor(doc->translationUnit())
|
||||
{ }
|
||||
|
||||
@@ -65,7 +65,7 @@ protected:
|
||||
using ASTVisitor::visit;
|
||||
using ASTVisitor::endVisit;
|
||||
|
||||
typedef TextEditor::HighlightingResult HighlightingResult;
|
||||
using HighlightingResult = TextEditor::HighlightingResult;
|
||||
|
||||
void enterScope(Scope *scope)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user