/external/llvm-project/clang/lib/Format/ |
D | UsingDeclarationsSorter.cpp | 159 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()
|
/external/clang/lib/Basic/ |
D | SourceLocation.cpp | 130 const char *FullSourceLoc::getCharacterData(bool *Invalid) const { in getCharacterData() function in FullSourceLoc 132 return SrcMgr->getCharacterData(*this, Invalid); in getCharacterData()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 773 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl() 904 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue() 1003 const char *startBuf = SM->getCharacterData(LocStart); in RewriteProtocolDecl() 1004 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl() 1175 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl() 1176 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl() 1186 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl() 1187 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl() 1480 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCForCollectionStmt() 1536 const char *rparenBuf = SM->getCharacterData(rightParenLoc); in RewriteObjCForCollectionStmt() [all …]
|
D | RewriteModernObjC.cpp | 925 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl() 1061 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue() 1171 const char *startBuf = SM->getCharacterData(LocStart); in RewriteProtocolDecl() 1172 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl() 1353 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl() 1354 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl() 1364 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl() 1365 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl() 1686 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCForCollectionStmt() 1745 const char *rparenBuf = SM->getCharacterData(rightParenLoc); in RewriteObjCForCollectionStmt() [all …]
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 774 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 …]
|
D | RewriteModernObjC.cpp | 927 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 …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | NamedParameterCheck.cpp | 75 const char *Begin = SM.getCharacterData(Parm->getBeginLoc()); in check() 76 const char *End = SM.getCharacterData(Parm->getLocation()); in check()
|
D | BracesAroundStatementsCheck.cpp | 41 while (isWhitespace(*SM.getCharacterData(Loc))) in forwardSkipWhitespaceAndComments() 81 while (isHorizontalWhitespace(*SM.getCharacterData(Loc))) { in findEndLocation() 85 if (isVerticalWhitespace(*SM.getCharacterData(Loc))) { in findEndLocation()
|
D | AvoidConstParamsInDecls.cpp | 67 Sources.getCharacterData(Tok.getLocation()), Tok.getLength())); in ConstTok()
|
/external/llvm-project/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 155 const char* B = SourceMgr.getCharacterData(Range.getBegin()); in GetSourceString() 156 const char* E = SourceMgr.getCharacterData(Range.getEnd()); in GetSourceString() 162 const char *B = SourceMgr.getCharacterData(Range.getBegin()); in GetSourceStringToEnd() 163 const char *E = SourceMgr.getCharacterData(Range.getEnd()); in GetSourceStringToEnd()
|
/external/llvm-project/clang/lib/Analysis/ |
D | IssueHash.cpp | 154 const char *BufferPos = SM.getCharacterData(StartOfLine); in NormalizeLine() 165 LineBuff << std::string(SM.getCharacterData(Token.getLocation()), in NormalizeLine()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | IssueHash.cpp | 147 const char *BufferPos = SM.getCharacterData(StartOfLine); in NormalizeLine() 158 LineBuff << std::string(SM.getCharacterData(Token.getLocation()), in NormalizeLine()
|
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/ |
D | IncludeOrderCheck.cpp | 162 const char *FromData = SM.getCharacterData(FromLoc); in EndOfMainFile() 168 const char *ToData = SM.getCharacterData(ToLoc); in EndOfMainFile()
|
/external/llvm-project/clang/lib/Tooling/Transformer/ |
D | SourceCode.cpp | 105 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()
|
/external/clang/unittests/Tooling/ |
D | CommentHandlerTest.cpp | 42 std::string C(SM.getCharacterData(Start), in HandleComment() 43 SM.getCharacterData(Loc.getEnd())); in HandleComment()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | CommentHandlerTest.cpp | 41 std::string C(SM.getCharacterData(Start), in HandleComment() 42 SM.getCharacterData(Loc.getEnd())); in HandleComment()
|
/external/llvm-project/clang/lib/Basic/ |
D | SourceLocation.cpp | 252 const char *FullSourceLoc::getCharacterData(bool *Invalid) const { in getCharacterData() function in FullSourceLoc 254 return SrcMgr->getCharacterData(*this, Invalid); in getCharacterData()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UseOverrideCheck.cpp | 69 Sources.getCharacterData(Tok.getLocation()), Tok.getLength())); in ParseTokens() 79 return StringRef(Sources.getCharacterData(Tok.getLocation()), in GetText()
|
D | ReplaceAutoPtrCheck.cpp | 141 if (StringRef(SM.getCharacterData(AutoPtrLoc), strlen("auto_ptr")) != in check()
|
/external/clang/lib/Lex/ |
D | TokenConcatenation.cpp | 55 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in IsIdentifierStringPrefix() 134 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in GetFirstChar()
|
/external/llvm-project/clang-tools-extra/clang-tidy/portability/ |
D | RestrictSystemIncludesCheck.cpp | 48 unsigned ToLen = std::strcspn(SM.getCharacterData(Include.Loc), "\n") + 1; in EndOfMainFile()
|
/external/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 149 const char* B = SourceMgr.getCharacterData(Range.getBegin()); in GetSourceString() 150 const char* E = SourceMgr.getCharacterData(Range.getEnd()); in GetSourceString()
|
/external/llvm-project/clang/lib/Lex/ |
D | TokenConcatenation.cpp | 54 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in IsIdentifierStringPrefix() 137 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in GetFirstChar()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | SuspiciousSemicolonCheck.cpp | 59 Buffer.getBufferStart(), SM.getCharacterData(LocEnd) + 1, in check()
|
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | RawStringLiteral.cpp | 67 const char* Data = SM.getCharacterData(LastTokenBeforeCursor); in REGISTER_TWEAK()
|