summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Semantic.h
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2010-07-20 12:54:49 +0200
committerRoberto Raggi <roberto.raggi@nokia.com>2010-07-20 12:55:08 +0200
commit893e647306ab121567553d5fe1adbbdae041aed7 (patch)
treecfb2911183e5f167a1859954090c911b99d4ebdf /src/shared/cplusplus/Semantic.h
parenta97bede3416d1feaa2d9f07dd4d4ca1ba85cbdb7 (diff)
downloadqt-creator-893e647306ab121567553d5fe1adbbdae041aed7.tar.gz
Use the location of the unqualified name id.
Diffstat (limited to 'src/shared/cplusplus/Semantic.h')
-rw-r--r--src/shared/cplusplus/Semantic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/cplusplus/Semantic.h b/src/shared/cplusplus/Semantic.h
index cc6e345483..69d5dce0b6 100644
--- a/src/shared/cplusplus/Semantic.h
+++ b/src/shared/cplusplus/Semantic.h
@@ -132,6 +132,10 @@ public:
int visibilityForObjCAccessSpecifier(int tokenKind) const;
bool isObjCClassMethod(int tokenKind) const;
+ unsigned location(DeclaratorAST *ast) const;
+ unsigned location(CoreDeclaratorAST *ast) const;
+ unsigned location(NameAST *ast) const;
+
private:
class Data;
friend class Data;