Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
bd435499
Commit
bd435499
authored
Sep 27, 2010
by
Erik Verbruggen
Committed by
Robert Loehning
Sep 27, 2010
Browse files
Fixed compiler warnings.
(cherry picked from commit b049937ae013b47e9b86aacd60325dbd382319ed)
parent
f39494e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/libs/cplusplus/InsertionPointLocator.cpp
View file @
bd435499
...
...
@@ -291,18 +291,13 @@ InsertionLocation InsertionPointLocator::methodDeclarationInClass(
}
}
/// Currently, we return the end of fileName.cpp
QList
<
InsertionLocation
>
InsertionPointLocator
::
methodDefinition
(
const
QString
&
fileName
,
DeclarationAST
*
prevDecl
,
DeclarationAST
*
nextDecl
)
const
const
QString
&
/*
fileName
*/
)
const
{
QList
<
InsertionLocation
>
result
;
// option 1: after the prevDecl
// option 2: before the nextDecl
// option 3: inline in fileName (if fileName is a .h file)
// option 4: at the end of fileName.cpp (if fileName is not a .cpp file)
return
result
;
}
src/libs/cplusplus/InsertionPointLocator.h
View file @
bd435499
...
...
@@ -95,9 +95,7 @@ public:
const
Class
*
clazz
,
AccessSpec
xsSpec
)
const
;
QList
<
InsertionLocation
>
methodDefinition
(
const
QString
&
fileName
,
CPlusPlus
::
DeclarationAST
*
prevDecl
,
CPlusPlus
::
DeclarationAST
*
nextDecl
)
const
;
QList
<
InsertionLocation
>
methodDefinition
(
const
QString
&
fileName
)
const
;
private:
Snapshot
m_snapshot
;
...
...
Write
Preview
Supports
Markdown
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