[LLVMbugs] [Bug 21992] New: Add Clang-Tidy checks for localizing variables
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Dec 19 15:01:52 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=21992
Bug ID: 21992
Summary: Add Clang-Tidy checks for localizing variables
Product: new-bugs
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: eugene.zelenko at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Hi!
It'll be great to implement suggestion for localizing variables.
It's simpler in case of conditional statements, where variable is used in one
of branches. It's harder to do in case of loops, when variable may be
re-initialized on each iteration or accumulate value with each iteration.
Background of request: my project have quite a lot long functions (~ 100 kB of
code) where place of usage and life cycle of variables are hard to track.
Eugene.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141219/312f0066/attachment.html>
More information about the llvm-bugs
mailing list