forked from qt-creator/qt-creator
C++: Do not compare flags when matching types
Trust the matcher to do the job. Task-number: QTCREATORBUG-13564 Change-Id: I4ff14608a1ce12d3f4424242e50ba71233ac9bfd Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
50efe4a5b3
commit
8bb176d2ec
2
src/libs/3rdparty/cplusplus/Bind.cpp
vendored
2
src/libs/3rdparty/cplusplus/Bind.cpp
vendored
@@ -1918,7 +1918,7 @@ bool Bind::visit(SimpleDeclarationAST *ast)
|
||||
|
||||
for (DeclaratorListAST *it = ast->declarator_list; it; it = it->next) {
|
||||
DeclaratorIdAST *declaratorId = 0;
|
||||
FullySpecifiedType declTy = this->declarator(it->value, type.qualifiedType(), &declaratorId);
|
||||
FullySpecifiedType declTy = this->declarator(it->value, type, &declaratorId);
|
||||
|
||||
const Name *declName = 0;
|
||||
unsigned sourceLocation = location(it->value, ast->firstToken());
|
||||
|
||||
Reference in New Issue
Block a user