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 be762b7 commit 03383daCopy full SHA for 03383da
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