[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 108404] New: checking for expressions with side effects
From: kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date: 2005-07-01 13:48:34
Message-ID: 20050701154832.108404.ghost () cs ! msu ! su
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=108404
Summary: checking for expressions with side effects
Product: kdevelop
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: NEW
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs kdevelop org
ReportedBy: ghost cs msu su
Version: (using KDE Devel)
Installed from: Compiled sources
Attempt to evaluate an expression like
*data++
will appear to work, but it will modify the variable 'data'. Given that it's very easy to select
and expression in the code and right_click->watch it, kdevelop probably should look for "++" and "--"
and issue a warning.
In general, we can't detect that an expression has side effects, but in some common cases it's possible.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic