Home
last modified time | relevance | path

Searched refs:locInfo (Results 1 – 5 of 5) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
HDTransforms.cpp140 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in findSemiAfterLocation() local
144 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in findSemiAfterLocation()
148 const char *tokenBegin = file.data() + locInfo.second; in findSemiAfterLocation()
151 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in findSemiAfterLocation()
388 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in rewritePropertyAttribute() local
392 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in rewritePropertyAttribute()
396 const char *tokenBegin = file.data() + locInfo.second; in rewritePropertyAttribute()
399 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in rewritePropertyAttribute()
469 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in addPropertyAttribute() local
473 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in addPropertyAttribute()
[all …]
HDTransformActions.cpp426 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in canReplaceText() local
430 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in canReplaceText()
434 return file.substr(locInfo.second).starts_with(text); in canReplaceText()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Edit/
HDCommit.cpp242 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in canInsert() local
243 if (locInfo.first.isInvalid()) in canInsert()
245 offs = FileOffset(locInfo.first, locInfo.second); in canInsert()
276 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in canInsertAfterToken() local
277 if (locInfo.first.isInvalid()) in canInsertAfterToken()
279 offs = FileOffset(locInfo.first, locInfo.second); in canInsertAfterToken()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaObjCProperty.cpp312 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(LParenLoc); in LocPropertyAttribute() local
315 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in LocPropertyAttribute()
318 const char *tokenBegin = file.data() + locInfo.second; in LocPropertyAttribute()
321 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in LocPropertyAttribute()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
HDLexer.cpp385 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); in getSpelling() local
389 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in getSpelling()
395 const char *tokenBegin = file.data() + locInfo.second; in getSpelling()
398 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), options, in getSpelling()