Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
KDevelop
Manage
Activity
Members
Labels
Plan
Issues
53
Issue boards
Milestones
Wiki
Bugzilla
Code
Merge requests
62
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KDevelop
KDevelop
Commits
c0235f2a
Commit
c0235f2a
authored
11 years ago
by
Kevin Funk
Browse files
Options
Downloads
Patches
Plain Diff
Minor: Fix warnings
parent
fca35212
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
languages/cpp/cppduchain/typeconversion.cpp
+2
-0
2 additions, 0 deletions
languages/cpp/cppduchain/typeconversion.cpp
languages/cpp/cppduchain/typeutils.cpp
+0
-1
0 additions, 1 deletion
languages/cpp/cppduchain/typeutils.cpp
with
2 additions
and
1 deletion
languages/cpp/cppduchain/typeconversion.cpp
+
2
−
0
View file @
c0235f2a
...
...
@@ -610,6 +610,8 @@ bool TypeConversion::isAccessible(const ClassMemberDeclaration* decl) {
ConversionRank
TypeConversion
::
ellipsisConversion
(
AbstractType
::
Ptr
from
,
AbstractType
::
Ptr
to
)
{
Q_UNUSED
(
from
);
if
(
TypeUtils
::
isVarArgs
(
to
))
{
return
ExactMatch
;
}
...
...
This diff is collapsed.
Click to expand it.
languages/cpp/cppduchain/typeutils.cpp
+
0
−
1
View file @
c0235f2a
...
...
@@ -225,7 +225,6 @@ KDevelop::AbstractType::Ptr matchingClassPointer(const KDevelop::AbstractType::P
if
(
actualStructure
)
{
DUContext
*
internal
=
actualStructure
->
internalContext
(
topContext
);
if
(
internal
)
{
typedef
QPair
<
Declaration
*
,
int
>
DeclarationDepthPair
;
foreach
(
Declaration
*
decl
,
internal
->
findDeclarations
(
Cpp
::
castIdentifier
().
identifier
(),
CursorInRevision
::
invalid
(),
topContext
,
(
DUContext
::
SearchFlags
)(
DUContext
::
DontSearchInParent
|
DUContext
::
NoFiltering
)))
{
FunctionType
::
Ptr
funType
=
decl
->
type
<
FunctionType
>
();
if
(
funType
&&
funType
->
returnType
())
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment