Closed Bug 449448 Opened 17 years ago Closed 17 years ago

Expose information about templated functions to dehydra

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: benjamin, Assigned: benjamin)

References

Details

Attachments

(1 file)

Right now templated function declarations can show up in dehydra within a class type. In the future I'd also like to expose templated function and maybe class declarations in process_decl. This code makes it possible to intelligently work with these declarations. typenames "type" objects will have .isTypename=true, and templated functions will have a .template=[name: "A", type:{}] array on them
Attachment #332575 - Flags: review?(tglek)
Blocks: 437502
Comment on attachment 332575 [details] [diff] [review] patch with testcase, rev. 1 > if (DECL_CONSTRUCTOR_P (v)) { >@@ -400,6 +401,20 @@ JSObject* dehydra_addVar (Dehydra *this, > dehydra_defineStringProperty (this, obj, VIRTUAL, "pure"); I tend to use string constants instead of literals for this.
Attachment #332575 - Flags: review?(tglek) → review+
Pushed.
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: