Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DCommit.cpp241 FileIDAndOffset locInfo = SM.getDecomposedLoc(loc); in canInsert() local
242 if (locInfo.first.isInvalid()) in canInsert()
244 offs = FileOffset(locInfo.first, locInfo.second); in canInsert()
275 FileIDAndOffset locInfo = SM.getDecomposedLoc(loc); in canInsertAfterToken() local
276 if (locInfo.first.isInvalid()) in canInsertAfterToken()
278 offs = FileOffset(locInfo.first, locInfo.second); in canInsertAfterToken()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp313 FileIDAndOffset locInfo = SM.getDecomposedLoc(LParenLoc); in LocPropertyAttribute() local
316 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in LocPropertyAttribute()
319 const char *tokenBegin = file.data() + locInfo.second; in LocPropertyAttribute()
322 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), in LocPropertyAttribute()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp384 FileIDAndOffset locInfo = SM.getDecomposedLoc(loc); in getSpelling() local
388 StringRef file = SM.getBufferData(locInfo.first, &invalidTemp); in getSpelling()
394 const char *tokenBegin = file.data() + locInfo.second; in getSpelling()
397 Lexer lexer(SM.getLocForStartOfFile(locInfo.first), options, in getSpelling()