Home
last modified time | relevance | path

Searched refs:BufferPtr (Results 1 – 9 of 9) sorted by relevance

/external/clang/lib/AST/
DCommentLexer.cpp86 if (BufferPtr == CommentEnd) in skipLineStartingDecorations()
89 switch (*BufferPtr) { in skipLineStartingDecorations()
94 const char *NewBufferPtr = BufferPtr; in skipLineStartingDecorations()
107 BufferPtr = NewBufferPtr + 1; in skipLineStartingDecorations()
111 BufferPtr++; in skipLineStartingDecorations()
118 const char *findNewline(const char *BufferPtr, const char *BufferEnd) { in findNewline() argument
119 for ( ; BufferPtr != BufferEnd; ++BufferPtr) { in findNewline()
120 if (isVerticalWhitespace(*BufferPtr)) in findNewline()
121 return BufferPtr; in findNewline()
126 const char *skipNewline(const char *BufferPtr, const char *BufferEnd) { in skipNewline() argument
[all …]
DCommentParser.cpp46 const char *BufferPtr; member
64 Pos.BufferPtr = Pos.BufferStart; in setupBuffer()
69 const unsigned CharNo = Pos.BufferPtr - Pos.BufferStart; in getSourceLocation()
75 assert(Pos.BufferPtr != Pos.BufferEnd); in peek()
76 return *Pos.BufferPtr; in peek()
81 assert(Pos.BufferPtr != Pos.BufferEnd); in consumeChar()
82 Pos.BufferPtr++; in consumeChar()
83 if (Pos.BufferPtr == Pos.BufferEnd) { in consumeChar()
162 const char *WordBegin = Pos.BufferPtr; in lexWord()
195 const char *WordBegin = Pos.BufferPtr; in lexDelimitedSeq()
[all …]
/external/clang/lib/Lex/
DLexer.cpp58 BufferPtr = BufPtr; in InitLexer()
68 if (BufferStart == BufferPtr) { in InitLexer()
76 BufferPtr += BOMLength; in InitLexer()
180 L->BufferPtr = StrData; in Create_PragmaLexer()
1346 BufferPtr += Bytes; in SkipBytes()
1347 if (BufferPtr > BufferEnd) in SkipBytes()
1348 BufferPtr = BufferEnd; in SkipBytes()
1488 const char *IdStart = BufferPtr; in LexIdentifier()
1573 if (!LangOpts.MicrosoftExt || !isHexaLiteral(BufferPtr, LangOpts)) in LexNumericConstant()
1584 if (!isHexaLiteral(BufferPtr, LangOpts)) in LexNumericConstant()
[all …]
DPPLexerChange.cpp399 CurLexer->BufferPtr = EndPos; in HandleEndOfFile()
427 CurLexer->BufferPtr = EndPos; in HandleEndOfFile()
/external/clang/include/clang/Lex/
DLexer.h77 const char *BufferPtr; variable
159 return BufferPtr == BufferEnd; in LexFromRawLexer()
222 return getSourceLocation(BufferPtr); in getSourceLocation()
226 const char *getBufferLocation() const { return BufferPtr; } in getBufferLocation()
484 unsigned TokLen = TokEnd-BufferPtr; in FormTokenWithChars()
486 Result.setLocation(getSourceLocation(BufferPtr, TokLen)); in FormTokenWithChars()
488 BufferPtr = TokEnd; in FormTokenWithChars()
622 void cutOffLexing() { BufferPtr = BufferEnd; } in cutOffLexing()
/external/llvm/tools/llvm-mcmarkup/
Dllvm-mcmarkup.cpp138 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferPtr = in parseMCMarkup() local
140 if (std::error_code EC = BufferPtr.getError()) { in parseMCMarkup()
144 std::unique_ptr<MemoryBuffer> &Buffer = BufferPtr.get(); in parseMCMarkup()
/external/clang/include/clang/AST/
DCommentLexer.h239 const char *BufferPtr; variable
299 StringRef Text(BufferPtr, TokEnd - BufferPtr); in formTextToken()
/external/llvm/tools/llvm-mc/
Dllvm-mc.cpp370 ErrorOr<std::unique_ptr<MemoryBuffer>> BufferPtr = in main() local
372 if (std::error_code EC = BufferPtr.getError()) { in main()
376 MemoryBuffer *Buffer = BufferPtr->get(); in main()
381 SrcMgr.AddNewSourceBuffer(std::move(*BufferPtr), SMLoc()); in main()
/external/clang/docs/
DInternalsManual.rst751 * The ``Lexer`` uses ``BufferPtr`` to keep track of the current character being