mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 15:05:36 +02:00
Fix visibility of C struct members
This commit is contained in:
parent
c44d3fa59d
commit
2ad1466264
1 changed files with 1 additions and 1 deletions
|
@ -840,8 +840,8 @@ public class CModelBuilder2 implements IContributedModelBuilder {
|
|||
if (specifier instanceof ICPPASTDeclSpecifier) {
|
||||
final ICPPASTDeclSpecifier cppSpecifier= (ICPPASTDeclSpecifier)specifier;
|
||||
newElement.setMutable(cppSpecifier.getStorageClass() == ICPPASTDeclSpecifier.sc_mutable);
|
||||
newElement.setVisibility(getCurrentVisibility());
|
||||
}
|
||||
newElement.setVisibility(getCurrentVisibility());
|
||||
element= newElement;
|
||||
} else {
|
||||
if (isTemplate) {
|
||||
|
|
Loading…
Add table
Reference in a new issue