Home
last modified time | relevance | path

Searched refs:ParenCount (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DStaticAssertCheck.cpp159 unsigned int ParenCount = 1; in getLastParenLoc() local
160 while (ParenCount && !Lexer.LexFromRawLexer(Token)) { in getLastParenLoc()
162 ++ParenCount; in getLastParenLoc()
164 --ParenCount; in getLastParenLoc()
/external/llvm-project/clang/include/clang/Parse/
DRAIIObjectsForParser.h345 unsigned short ParenCount, BracketCount, BraceCount; variable
348 : P(p), ParenCount(p.ParenCount), BracketCount(p.BracketCount), in ParenBraceBracketBalancer()
353 P.ParenCount = ParenCount; in ~ParenBraceBracketBalancer()
395 case tok::l_paren: return P.ParenCount; in getDepth()
DParser.h85 unsigned short ParenCount = 0, BracketCount = 0, BraceCount = 0; variable
333 unsigned short ParenCount, BracketCount, BraceCount; member
336 return P.ParenCount == ParenCount && P.BracketCount == BracketCount && in isActive()
341 return isActive(P) || P.ParenCount > ParenCount || in isActiveOrNested()
363 P.ParenCount, P.BracketCount, P.BraceCount}); in add()
587 ++ParenCount; in ConsumeParen()
588 else if (ParenCount) { in ConsumeParen()
590 --ParenCount; // Don't let unbalanced )'s drive the count negative. in ConsumeParen()
949 PrevParenCount = P.ParenCount; in TentativeParsingAction()
969 P.ParenCount = PrevParenCount; in Revert()
/external/clang/lib/Parse/
DRAIIObjectsForParser.h326 unsigned short ParenCount, BracketCount, BraceCount; variable
329 : P(p), ParenCount(p.ParenCount), BracketCount(p.BracketCount), in ParenBraceBracketBalancer()
333 P.ParenCount = ParenCount; in ~ParenBraceBracketBalancer()
375 case tok::l_paren: return P.ParenCount; in getDepth()
DParseCXXInlineMethods.cpp718 if (ParenCount && !isFirstTokenConsumed) in ConsumeAndStoreUntil()
1181 if (ParenCount && !IsFirstToken) in ConsumeAndStoreInitializer()
DParser.cpp81 ParenCount = BracketCount = BraceCount = 0; in Parser()
332 if (ParenCount && !isFirstTokenSkipped) in SkipUntil()
/external/clang/include/clang/Parse/
DParser.h76 unsigned short ParenCount, BracketCount, BraceCount; variable
385 ++ParenCount; in ConsumeParen()
386 else if (ParenCount) in ConsumeParen()
387 --ParenCount; // Don't let unbalanced )'s drive the count negative. in ConsumeParen()
690 PrevParenCount = P.ParenCount; in TentativeParsingAction()
709 P.ParenCount = PrevParenCount; in Revert()
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp126 unsigned ParenCount = 0; in pushOperator() local
134 if (!(OpPrecedence[StackOp] >= OpPrecedence[Op] || ParenCount)) in pushOperator()
139 if (!ParenCount && StackOp == IC_LPAREN) in pushOperator()
143 ++ParenCount; in pushOperator()
146 --ParenCount; in pushOperator()
/external/llvm-project/clang/lib/Parse/
DParseCXXInlineMethods.cpp847 if (ParenCount && !isFirstTokenConsumed) in ConsumeAndStoreUntil()
1323 if (ParenCount && !IsFirstToken) in ConsumeAndStoreInitializer()
DParseOpenMP.cpp1100 unsigned short OuterPC = ParenCount; in parseOMPContextSelector()
1112 if (Tok.is(tok::r_paren) && OuterPC > ParenCount) in parseOMPContextSelector()
1114 if (OuterPC <= ParenCount) { in parseOMPContextSelector()
DParser.cpp370 if (ParenCount && !isFirstTokenSkipped) in SkipUntil()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp182 unsigned ParenCount = 0; in pushOperator() local
190 if (!(OpPrecedence[StackOp] >= OpPrecedence[Op] || ParenCount)) in pushOperator()
195 if (!ParenCount && StackOp == IC_LPAREN) in pushOperator()
199 ++ParenCount; in pushOperator()
202 --ParenCount; in pushOperator()
/external/llvm-project/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp218 unsigned ParenCount = 0; in pushOperator() local
226 if (!(OpPrecedence[StackOp] >= OpPrecedence[Op] || ParenCount)) in pushOperator()
231 if (!ParenCount && StackOp == IC_LPAREN) in pushOperator()
235 ++ParenCount; in pushOperator()
238 --ParenCount; in pushOperator()