Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
qt-creator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobias Hunger
qt-creator
Commits
58f5b02d
Commit
58f5b02d
authored
Mar 22, 2010
by
Erik Verbruggen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added deprecated identifier.
parent
189ec382
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
src/shared/cplusplus/Control.cpp
src/shared/cplusplus/Control.cpp
+6
-0
src/shared/cplusplus/Control.h
src/shared/cplusplus/Control.h
+1
-0
No files found.
src/shared/cplusplus/Control.cpp
View file @
58f5b02d
...
...
@@ -507,6 +507,7 @@ public:
// symbols
std
::
vector
<
Symbol
*>
symbols
;
const
Identifier
*
deprecatedId
;
// ObjC context keywords:
const
Identifier
*
objcGetterId
;
const
Identifier
*
objcSetterId
;
...
...
@@ -522,6 +523,8 @@ Control::Control()
{
d
=
new
Data
(
this
);
d
->
deprecatedId
=
findOrInsertIdentifier
(
"deprecated"
);
d
->
objcGetterId
=
findOrInsertIdentifier
(
"getter"
);
d
->
objcSetterId
=
findOrInsertIdentifier
(
"setter"
);
d
->
objcReadwriteId
=
findOrInsertIdentifier
(
"readwrite"
);
...
...
@@ -719,6 +722,9 @@ ObjCMethod *Control::newObjCMethod(unsigned sourceLocation, const Name *name)
ObjCPropertyDeclaration
*
Control
::
newObjCPropertyDeclaration
(
unsigned
sourceLocation
,
const
Name
*
name
)
{
return
d
->
newObjCPropertyDeclaration
(
sourceLocation
,
name
);
}
const
Identifier
*
Control
::
deprecatedId
()
const
{
return
d
->
deprecatedId
;
}
const
Identifier
*
Control
::
objcGetterId
()
const
{
return
d
->
objcGetterId
;
}
...
...
src/shared/cplusplus/Control.h
View file @
58f5b02d
...
...
@@ -173,6 +173,7 @@ public:
/// Creates a new Objective-C @property declaration symbol.
ObjCPropertyDeclaration
*
newObjCPropertyDeclaration
(
unsigned
sourceLocation
,
const
Name
*
name
);
const
Identifier
*
deprecatedId
()
const
;
// Objective-C specific context keywords.
const
Identifier
*
objcGetterId
()
const
;
const
Identifier
*
objcSetterId
()
const
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment