mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Bug 319749: NPE during content assist.
This commit is contained in:
parent
ca93e4ae7e
commit
52d90b84b2
1 changed files with 3 additions and 1 deletions
|
@ -1694,7 +1694,9 @@ public class CPPVisitor extends ASTQueries {
|
|||
IASTDeclSpecifier pDeclSpec = pdecl.getDeclSpecifier();
|
||||
ICPPASTDeclarator pDtor = pdecl.getDeclarator();
|
||||
pt = createType(pDeclSpec);
|
||||
pt = createType(pt, pDtor);
|
||||
if (pDtor != null) {
|
||||
pt = createType(pt, pDtor);
|
||||
}
|
||||
pt= adjustParameterType(pt, forFuncType);
|
||||
|
||||
if (pt != null && CPPVisitor.findInnermostDeclarator(pDtor).declaresParameterPack()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue