mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-10 09:45:39 +02:00
Fixed capitalization.
This commit is contained in:
parent
3a6b1d1846
commit
4d52adc1be
1 changed files with 2 additions and 2 deletions
|
@ -552,7 +552,7 @@ public class CPPSemantics {
|
||||||
|
|
||||||
static IBinding checkDeclSpecifier(IBinding binding, IASTName name, IASTNode decl) {
|
static IBinding checkDeclSpecifier(IBinding binding, IASTName name, IASTNode decl) {
|
||||||
// check for empty declaration specifiers
|
// check for empty declaration specifiers
|
||||||
if (!isCTorOrConversionOperator(binding)) {
|
if (!isCtorOrConversionOperator(binding)) {
|
||||||
IASTDeclSpecifier declspec= null;
|
IASTDeclSpecifier declspec= null;
|
||||||
if (decl instanceof IASTSimpleDeclaration) {
|
if (decl instanceof IASTSimpleDeclaration) {
|
||||||
declspec= ((IASTSimpleDeclaration) decl).getDeclSpecifier();
|
declspec= ((IASTSimpleDeclaration) decl).getDeclSpecifier();
|
||||||
|
@ -566,7 +566,7 @@ public class CPPSemantics {
|
||||||
return binding;
|
return binding;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static boolean isCTorOrConversionOperator(IBinding binding) {
|
private static boolean isCtorOrConversionOperator(IBinding binding) {
|
||||||
if (binding instanceof ICPPConstructor)
|
if (binding instanceof ICPPConstructor)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue