summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/ASTPath.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/cplusplus/ASTPath.h')
-rw-r--r--src/libs/cplusplus/ASTPath.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libs/cplusplus/ASTPath.h b/src/libs/cplusplus/ASTPath.h
index 8a3eb43a5e..49bc6a8d7a 100644
--- a/src/libs/cplusplus/ASTPath.h
+++ b/src/libs/cplusplus/ASTPath.h
@@ -62,7 +62,11 @@ public:
#endif
protected:
- virtual bool preVisit(AST *ast);
+ bool preVisit(AST *ast) override;
+
+private:
+ unsigned firstNonGeneratedToken(AST *ast) const;
+ unsigned lastNonGeneratedToken(AST *ast) const;
private:
Document::Ptr _doc;