Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 64365 Details for
Bug 167098
Index: no support for templates
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
fix for constructor/method template specializations
patch167098v4.txt (text/plain), 3.31 KB, created by
Bryan Wilkinson
on 2007-04-19 17:53:13 EDT
(
hide
)
Description:
fix for constructor/method template specializations
Filename:
MIME Type:
Creator:
Bryan Wilkinson
Created:
2007-04-19 17:53:13 EDT
Size:
3.31 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.cdt.core >Index: parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.cdt-core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.java,v >retrieving revision 1.69 >diff -u -r1.69 PDOMCPPLinkage.java >--- parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.java 16 Apr 2007 15:34:54 -0000 1.69 >+++ parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.java 19 Apr 2007 21:50:51 -0000 >@@ -316,12 +316,6 @@ > } else if (binding instanceof ICPPField) { > pdomBinding = new PDOMCPPFieldSpecialization(pdom, parent, > (ICPPField) binding, pdomSpecialized); >- } else if (binding instanceof ICPPConstructor) { >- pdomBinding = new PDOMCPPConstructorSpecialization(pdom, parent, >- (ICPPConstructor) binding, pdomSpecialized); >- } else if (binding instanceof ICPPMethod) { >- pdomBinding = new PDOMCPPMethodSpecialization(pdom, parent, >- (ICPPMethod) binding, pdomSpecialized); > } else if (binding instanceof ICPPFunctionTemplate) { > if (binding instanceof ICPPConstructor) { > pdomBinding = new PDOMCPPConstructorTemplateSpecialization( >@@ -333,6 +327,12 @@ > pdomBinding = new PDOMCPPFunctionTemplateSpecialization( > pdom, parent, (ICPPFunctionTemplate) binding, pdomSpecialized); > } >+ } else if (binding instanceof ICPPConstructor) { >+ pdomBinding = new PDOMCPPConstructorSpecialization(pdom, parent, >+ (ICPPConstructor) binding, pdomSpecialized); >+ } else if (binding instanceof ICPPMethod) { >+ pdomBinding = new PDOMCPPMethodSpecialization(pdom, parent, >+ (ICPPMethod) binding, pdomSpecialized); > } else if (binding instanceof ICPPFunction) { > pdomBinding = new PDOMCPPFunctionSpecialization(pdom, parent, > (ICPPFunction) binding, pdomSpecialized); >@@ -461,14 +461,10 @@ > return CPP_FUNCTION_INSTANCE; > else if (binding instanceof ICPPClassType) > return CPP_CLASS_INSTANCE; >- } else if (binding instanceof ICPPClassTemplatePartialSpecialization) { >+ } else if (binding instanceof ICPPClassTemplatePartialSpecialization) > return CPP_CLASS_TEMPLATE_PARTIAL_SPEC; >- } else if (binding instanceof ICPPField) >+ else if (binding instanceof ICPPField) > return CPP_FIELD_SPECIALIZATION; >- else if (binding instanceof ICPPConstructor) >- return CPP_CONSTRUCTOR_SPECIALIZATION; >- else if (binding instanceof ICPPMethod) >- return CPP_METHOD_SPECIALIZATION; > else if (binding instanceof ICPPFunctionTemplate) { > if (binding instanceof ICPPConstructor) > return CPP_CONSTRUCTOR_TEMPLATE_SPECIALIZATION; >@@ -476,7 +472,11 @@ > return CPP_METHOD_TEMPLATE_SPECIALIZATION; > else if (binding instanceof ICPPFunction) > return CPP_FUNCTION_TEMPLATE_SPECIALIZATION; >- } else if (binding instanceof ICPPFunction) >+ } else if (binding instanceof ICPPConstructor) >+ return CPP_CONSTRUCTOR_SPECIALIZATION; >+ else if (binding instanceof ICPPMethod) >+ return CPP_METHOD_SPECIALIZATION; >+ else if (binding instanceof ICPPFunction) > return CPP_FUNCTION_SPECIALIZATION; > else if (binding instanceof ICPPClassTemplate) > return CPP_CLASS_TEMPLATE_SPECIALIZATION;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
bjorn.freeman-benson
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 167098
:
61328
|
62811
|
63901
| 64365 |
64651
|
64767