Home
last modified time | relevance | path

Searched refs:NextChar (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/llvm/lib/TableGen/
H A DTGLexer.cpp222 int NextChar = 0; in LexToken() local
232 if (NextChar == 'x' || NextChar == 'b') { in LexToken()
240 if (NextChar == 'b') in LexToken()
247 if (NextChar == 'x') in LexToken()
254 if (isalpha(NextChar) || NextChar == '_') in LexToken()
622 int NextChar = *CurPtr; in prepIsDirective() local
641 if (NextChar == ' ' || NextChar == '\t' || NextChar == EOF || in prepIsDirective()
646 NextChar == '\r') in prepIsDirective()
661 if (NextChar == '/') { in prepIsDirective()
664 if (NextChar == '*' || NextChar == '/') in prepIsDirective()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Bitstream/
H A DBitstreamReader.h81 size_t NextChar = 0; variable
113 return BitsInCurWord == 0 && BitcodeBytes.size() <= NextChar; in AtEndOfStream()
118 return NextChar*CHAR_BIT - BitsInCurWord; in GetCurrentBitNo()
133 NextChar = ByteNo; in JumpToBit()
161 if (NextChar >= BitcodeBytes.size()) in fillCurWord()
164 NextChar, BitcodeBytes.size()); in fillCurWord()
167 const uint8_t *NextCharPtr = BitcodeBytes.data() + NextChar; in fillCurWord()
169 if (BitcodeBytes.size() >= NextChar + sizeof(word_t)) { in fillCurWord()
176 BytesRead = BitcodeBytes.size() - NextChar; in fillCurWord()
181 NextChar += BytesRead; in fillCurWord()
[all …]
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DEHFrameSupport.cpp397 uint8_t NextChar; in parseAugmentationString() local
400 if (auto Err = RecordReader.readInteger(NextChar)) in parseAugmentationString()
403 while (NextChar != 0) { in parseAugmentationString()
404 switch (NextChar) { in parseAugmentationString()
409 if (auto Err = RecordReader.readInteger(NextChar)) in parseAugmentationString()
411 if (NextChar != 'h') in parseAugmentationString()
413 Twine(NextChar) + in parseAugmentationString()
420 *NextField++ = NextChar; in parseAugmentationString()
424 Twine(NextChar) + in parseAugmentationString()
428 if (auto Err = RecordReader.readInteger(NextChar)) in parseAugmentationString()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DSemanticHighlightingTests.cpp45 unsigned NextChar = 0; in annotate() local
50 assert(NextChar <= StartOffset); in annotate()
52 OS << Input.substr(NextChar, StartOffset - NextChar); in annotate()
60 NextChar = EndOffset; in annotate()
62 OS << Input.substr(NextChar); in annotate()
H A DRenameTests.cpp94 unsigned NextChar = 0; in expectedResult() local
97 assert(R.Begin <= R.End && NextChar <= R.Begin); in expectedResult()
98 Result += Code.substr(NextChar, R.Begin - NextChar); in expectedResult()
100 NextChar = R.End; in expectedResult()
102 Result += Code.substr(NextChar); in expectedResult()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseAutoCheck.cpp40 const CharType NextChar = in getTypeNameLength() local
47 if (NextChar != Space) { in getTypeNameLength()
49 if (LastChar == Space && NextChar == Alpha && BeforeSpace == Alpha) in getTypeNameLength()
51 BeforeSpace = NextChar; in getTypeNameLength()
53 LastChar = NextChar; in getTypeNameLength()
/llvm-project-15.0.7/flang/lib/Parser/
H A Dprescan.cpp149 NextChar(); in Statement()
383 void Prescanner::NextChar() { in NextChar() function in Fortran::parser::Prescanner
445 NextChar(); in SkipSpaces()
505 NextChar(); in NextToken()
677 NextChar(); in QuotedCharacterLiteral()
684 NextChar(); in QuotedCharacterLiteral()
709 NextChar(); in Hollerith()
731 NextChar(); in Hollerith()
H A Dprescan.h135 NextChar(); in EmitCharAndAdvance()
156 void NextChar();
/llvm-project-15.0.7/flang/include/flang/Common/
H A Dformat.h120 CHAR NextChar(); in ENUM_CLASS()
166 template <typename CHAR> CHAR FormatValidator<CHAR>::NextChar() { in NextChar() function
197 CHAR c{NextChar()}; in NextToken()
228 c = NextChar(); in NextToken()
/llvm-project-15.0.7/llvm/lib/Demangle/
H A DMicrosoftDemangle.cpp1371 unsigned NextChar = in demangleStringLiteral() local
1374 outputEscapedChar(OB, NextChar); in demangleStringLiteral()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaType.cpp4322 const char *NextChar = S.SourceMgr.getCharacterData(FixItLoc); in fixItNullability() local
4323 if (!NextChar) in fixItNullability()
4331 if (isWhitespace(*NextChar)) { in fixItNullability()
4333 } else if (NextChar[-1] == '[') { in fixItNullability()
4334 if (NextChar[0] == ']') in fixItNullability()
4338 } else if (!isAsciiIdentifierContinue(NextChar[0], /*allow dollar*/ true) && in fixItNullability()
4339 !isAsciiIdentifierContinue(NextChar[-1], /*allow dollar*/ true)) { in fixItNullability()