• Home
  • Raw
  • Download

Lines Matching refs:location

201 int clang_Location_isInSystemHeader(CXSourceLocation location) {  in clang_Location_isInSystemHeader()  argument
203 SourceLocation::getFromRawEncoding(location.int_data); in clang_Location_isInSystemHeader()
208 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_Location_isInSystemHeader()
212 void clang_getExpansionLocation(CXSourceLocation location, in clang_getExpansionLocation() argument
218 if (!isASTUnitSourceLocation(location)) { in clang_getExpansionLocation()
219 CXLoadedDiagnostic::decodeLocation(location, file, line, column, offset); in clang_getExpansionLocation()
223 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); in clang_getExpansionLocation()
225 if (!location.ptr_data[0] || Loc.isInvalid()) { in clang_getExpansionLocation()
231 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_getExpansionLocation()
254 void clang_getPresumedLocation(CXSourceLocation location, in clang_getPresumedLocation() argument
259 if (!isASTUnitSourceLocation(location)) { in clang_getPresumedLocation()
266 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); in clang_getPresumedLocation()
268 if (!location.ptr_data[0] || Loc.isInvalid()) in clang_getPresumedLocation()
272 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_getPresumedLocation()
284 void clang_getInstantiationLocation(CXSourceLocation location, in clang_getInstantiationLocation() argument
290 clang_getExpansionLocation(location, file, line, column, offset); in clang_getInstantiationLocation()
293 void clang_getSpellingLocation(CXSourceLocation location, in clang_getSpellingLocation() argument
299 if (!isASTUnitSourceLocation(location)) { in clang_getSpellingLocation()
300 CXLoadedDiagnostic::decodeLocation(location, file, line, in clang_getSpellingLocation()
305 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); in clang_getSpellingLocation()
307 if (!location.ptr_data[0] || Loc.isInvalid()) in clang_getSpellingLocation()
311 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_getSpellingLocation()
331 void clang_getFileLocation(CXSourceLocation location, in clang_getFileLocation() argument
337 if (!isASTUnitSourceLocation(location)) { in clang_getFileLocation()
338 CXLoadedDiagnostic::decodeLocation(location, file, line, in clang_getFileLocation()
343 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); in clang_getFileLocation()
345 if (!location.ptr_data[0] || Loc.isInvalid()) in clang_getFileLocation()
349 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_getFileLocation()