Lines Matching refs:Loc
212 const SourceLocation Loc = in clang_Location_isInSystemHeader() local
214 if (Loc.isInvalid()) in clang_Location_isInSystemHeader()
219 return SM.isInSystemHeader(Loc); in clang_Location_isInSystemHeader()
223 const SourceLocation Loc = in clang_Location_isFromMainFile() local
225 if (Loc.isInvalid()) in clang_Location_isFromMainFile()
230 return SM.isWrittenInMainFile(Loc); in clang_Location_isFromMainFile()
244 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); in clang_getExpansionLocation() local
246 if (!location.ptr_data[0] || Loc.isInvalid()) { in clang_getExpansionLocation()
253 SourceLocation ExpansionLoc = SM.getExpansionLoc(Loc); in clang_getExpansionLocation()
287 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); in clang_getPresumedLocation() local
289 if (!location.ptr_data[0] || Loc.isInvalid()) { in clang_getPresumedLocation()
296 PresumedLoc PreLoc = SM.getPresumedLoc(Loc); in clang_getPresumedLocation()
328 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); in clang_getSpellingLocation() local
330 if (!location.ptr_data[0] || Loc.isInvalid()) in clang_getSpellingLocation()
336 SourceLocation SpellLoc = SM.getFileLoc(Loc); in clang_getSpellingLocation()
366 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); in clang_getFileLocation() local
368 if (!location.ptr_data[0] || Loc.isInvalid()) in clang_getFileLocation()
373 SourceLocation FileLoc = SM.getFileLoc(Loc); in clang_getFileLocation()