Closed Bug 431857 Opened 17 years ago Closed 17 years ago

Allow overriding of inferred outparam

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: benjamin, Assigned: dmandelin)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch NS_INPARAM annotation (obsolete) — Splinter Review
nsStringEnumerator.cpp has a signature StringEnumeratorTail(T** aResult) which isn't an outparam. The attached patch marks that argument as an inparam, but I need the outparam analysis to check for the annotation.
> +# define NS_INPARAM __attribute__((user("NS_intparam"))) Typo? 'NS_intparam' -> 'NS_inparam'
Attached patch Proposed patchSplinter Review
Includes the annotation patch, with the typo fixed. Passes a new test case and the file ref'd in the bug report.
Attachment #319016 - Attachment is obsolete: true
Attachment #319094 - Flags: review?
Attachment #319094 - Flags: review? → review?(benjamin)
Attachment #319094 - Flags: review?(benjamin) → review+
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: