Skip to content
GitLab
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
0d1624d4
Commit
0d1624d4
authored
Feb 09, 2009
by
Roberto Raggi
Browse files
Fixes: Possible crash when searching for the definitions of enumerators.
parent
d018cfd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cppeditor.cpp
View file @
0d1624d4
...
...
@@ -593,6 +593,8 @@ Symbol *CPPEditor::findDefinition(Symbol *symbol)
{
if
(
symbol
->
isFunction
())
return
0
;
// symbol is a function definition.
else
if
(
!
symbol
->
type
())
return
0
;
Function
*
funTy
=
symbol
->
type
()
->
asFunctionType
();
if
(
!
funTy
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment