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
63
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
d8df285e
Commit
d8df285e
authored
9 years ago
by
Zhang HuiJie
Browse files
Options
Downloads
Patches
Plain Diff
fix definite loop.
see
https://git.reviewboard.kde.org/r/125684/
parent
cdafed17
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
languages/cpp/cpplanguagesupport.cpp
+3
-0
3 additions, 0 deletions
languages/cpp/cpplanguagesupport.cpp
with
3 additions
and
0 deletions
languages/cpp/cpplanguagesupport.cpp
+
3
−
0
View file @
d8df285e
...
...
@@ -697,6 +697,9 @@ bool CppLanguageSupport::isFunctionLike(const rpp::pp_macro& pm, const QUrl& url
while
(
!
strdef
.
isEmpty
())
{
IndexedString
preName
(
strdef
);
if
(
pm
.
name
==
preName
)
return
false
;
if
(
!
p
->
usedMacroNames
().
contains
(
preName
)
&&
!
p
->
definedMacroNames
().
contains
(
preName
))
return
false
;
...
...
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