Home
last modified time | relevance | path

Searched refs:getCharacterData (Results 1 – 25 of 29) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/Format/
H A DUsingDeclarationsSorter.cpp159 StringRef Text(SourceMgr.getCharacterData(SortedBegin), in endUsingDeclarationBlock()
160 SourceMgr.getCharacterData(SortedEnd) - in endUsingDeclarationBlock()
161 SourceMgr.getCharacterData(SortedBegin)); in endUsingDeclarationBlock()
163 StringRef OldText(SourceMgr.getCharacterData(Begin), in endUsingDeclarationBlock()
164 SourceMgr.getCharacterData(End) - in endUsingDeclarationBlock()
165 SourceMgr.getCharacterData(Begin)); in endUsingDeclarationBlock()
H A DWhitespaceManager.cpp123 SourceMgr.getCharacterData(PreviousOriginalWhitespaceEnd); in calculateLineBreakInformation()
125 SourceMgr.getCharacterData(OriginalWhitespaceStart) - in calculateLineBreakInformation()
976 if (StringRef(SourceMgr.getCharacterData(Range.getBegin()), in storeReplacement()
H A DFormatTokenLexer.cpp1031 Tok.TokenText = StringRef(SourceMgr.getCharacterData(Tok.Tok.getLocation()), in readRawToken()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp774 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl()
908 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue()
1007 const char *startBuf = SM->getCharacterData(LocStart); in RewriteProtocolDecl()
1008 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1182 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl()
1183 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1195 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl()
1196 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1489 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCForCollectionStmt()
1545 const char *rparenBuf = SM->getCharacterData(rightParenLoc); in RewriteObjCForCollectionStmt()
[all …]
H A DRewriteModernObjC.cpp927 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl()
1063 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue()
1173 const char *startBuf = SM->getCharacterData(LocStart); in RewriteProtocolDecl()
1174 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1358 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl()
1359 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1371 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl()
1372 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1693 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCForCollectionStmt()
1752 const char *rparenBuf = SM->getCharacterData(rightParenLoc); in RewriteObjCForCollectionStmt()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp105 return isVerticalWhitespace(SM.getCharacterData(Tok.getLocation())[0]); in startsWithNewline()
270 const char *LocChars = SM.getCharacterData(Loc); in skipWhitespaceAndNewline()
291 SM.getCharacterData(Loc.getLocWithOffset(-1), &Invalid); in atOrBeforeSeparation()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DIssueHash.cpp154 const char *BufferPos = SM.getCharacterData(StartOfLine); in NormalizeLine()
165 LineBuff << std::string(SM.getCharacterData(Token.getLocation()), in NormalizeLine()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DSourceLocation.cpp260 const char *FullSourceLoc::getCharacterData(bool *Invalid) const { in getCharacterData() function in FullSourceLoc
262 return SrcMgr->getCharacterData(*this, Invalid); in getCharacterData()
H A DSourceManager.cpp1155 const char *SourceManager::getCharacterData(SourceLocation SL, in getCharacterData() function in SourceManager
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DTokenConcatenation.cpp54 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in IsIdentifierStringPrefix()
137 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in GetFirstChar()
H A DLexer.cpp203 const char *StrData = SM.getCharacterData(SpellingLoc); in Create_PragmaLexer()
373 const char *TokStart = SourceMgr.getCharacterData(Tok.getLocation(), in getSpelling()
424 TokStart = SourceMgr.getCharacterData(Tok.getLocation(), &CharDataInvalid); in getSpelling()
728 const char *TokPtr = SM.getCharacterData(TokStart, &Invalid); in getTokenPrefixLength()
1284 const char *TokenEnd = SM.getCharacterData(TokenLoc) + Tok->getLength(); in findLocationAfterToken()
H A DPreprocessor.cpp245 const char *Start = SourceMgr.getCharacterData(Tok.getLocation()); in DumpToken()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseAST.cpp80 const char *Spelling = SM.getCharacterData(Tok.getLocation(), &Invalid); in print()
H A DParseExpr.cpp508 SM.getCharacterData(FILoc.getLocWithOffset(-1), &IsInvalid); in ParseRHSOfBinaryExpression()
511 SM.getCharacterData(FILoc.getLocWithOffset(-2), &IsInvalid); in ParseRHSOfBinaryExpression()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DSourceLocation.h405 const char *getCharacterData(bool *Invalid = nullptr) const;
H A DSourceManager.h1377 const char *getCharacterData(SourceLocation SL,
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp255 char PrevChar = *SM.getCharacterData(InsertLoc.getLocWithOffset(-1)); in rewriteToBridgedCast()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Rewrite/
H A DRewriter.cpp203 const char *Ptr = SourceMgr->getCharacterData(Range.getBegin()); in getRewrittenText()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp774 const char *CommentRaw = SM.getCharacterData(CommentBegin); in HandleComment()
775 StringRef C(CommentRaw, SM.getCharacterData(Comment.getEnd()) - CommentRaw); in HandleComment()
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-import-test/
H A Dclang-import-test.cpp105 const char *LocData = SM.getCharacterData(Loc, /*Invalid=*/nullptr); in PrintSourceForLocation()
/netbsd-src/external/mit/isl/dist/interface/
H A Dgenerator.cc638 s = SM.getCharacterData(loc); in callback_takes_argument()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp817 const char *TokInstantiationPtr =Pos.getExpansionLoc().getCharacterData(); in HandlePiece()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/
H A DTokens.cpp114 const char *Start = SM.getCharacterData(location(), &Invalid); in text()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DPreprocessor.h1786 return *SourceMgr.getCharacterData(Tok.getLocation(), Invalid);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExprObjC.cpp3774 char PrevChar = *SM.getCharacterData(range.getBegin().getLocWithOffset(-1)); in addFixitForObjCARCConversion()
3792 char PrevChar = *SM.getCharacterData(range.getBegin().getLocWithOffset(-1)); in addFixitForObjCARCConversion()

12