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)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: benjamin, Assigned: benjamin)
References
Details
Attachments
(1 file)
|
3.93 KB,
patch
|
taras.mozilla
:
review+
|
Details | Diff | Splinter Review |
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)
Comment 1•17 years ago
|
||
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+
| Assignee | ||
Comment 2•17 years ago
|
||
Pushed.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Firefox Build System
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•