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 24467 Details for
Bug 102731
[CCE] at CPPClassScope#getClassType() line: 326 from full index of Mozilla in Windows
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
fix for this PR
cdt_core_patch.txt (text/plain), 1.09 KB, created by
Devin Steffler
on 2005-07-08 09:41:13 EDT
(
hide
)
Description:
fix for this PR
Filename:
MIME Type:
Creator:
Devin Steffler
Created:
2005-07-08 09:41:13 EDT
Size:
1.09 KB
patch
obsolete
>Index: parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPClassScope.java >=================================================================== >RCS file: /home/tools/org.eclipse.cdt-core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPClassScope.java,v >retrieving revision 1.30 >diff -u -r1.30 CPPClassScope.java >--- parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPClassScope.java 23 Jun 2005 16:02:11 -0000 1.30 >+++ parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPClassScope.java 8 Jul 2005 13:39:50 -0000 >@@ -323,7 +323,11 @@ > */ > public ICPPClassType getClassType() { > ICPPASTCompositeTypeSpecifier compSpec = (ICPPASTCompositeTypeSpecifier) getPhysicalNode(); >- return (ICPPClassType) compSpec.getName().resolveBinding(); >+ IBinding binding = compSpec.getName().resolveBinding(); >+ if (binding instanceof ICPPClassType) >+ return (ICPPClassType) compSpec.getName().resolveBinding(); >+ else >+ return new CPPClassType.CPPClassTypeProblem( compSpec.getName(), IProblemBinding.SEMANTIC_BAD_SCOPE, compSpec.getName().toCharArray() ); > > } >
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 102731
: 24467