We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 755b473 commit add2c58Copy full SHA for add2c58
clang/lib/Index/IndexBody.cpp
@@ -69,7 +69,7 @@ class BodyIndexer : public RecursiveASTVisitor<BodyIndexer> {
69
while (isa<CastExpr>(*It) || isa<ParenExpr>(*It)) {
70
if (auto ICE = dyn_cast<ImplicitCastExpr>(*It)) {
71
if (ICE->getCastKind() == CK_LValueToRValue)
72
- Roles |= (unsigned)(unsigned)SymbolRole::Read;
+ Roles |= (unsigned)SymbolRole::Read;
73
}
74
if (It == StmtStack.begin())
75
break;
0 commit comments