Lines Matching refs:file

116                                    CXFile file,  in clang_getLocation()  argument
123 if (!file) in clang_getLocation()
131 const FileEntry *File = static_cast<const FileEntry *>(file); in clang_getLocation()
151 CXFile file, in clang_getLocationForOffset() argument
157 if (!file) in clang_getLocationForOffset()
163 = CXXUnit->getLocation(static_cast<const FileEntry *>(file), offset); in clang_getLocationForOffset()
176 static void createNullLocation(CXFile *file, unsigned *line, in createNullLocation() argument
178 if (file) in createNullLocation()
179 *file = nullptr; in createNullLocation()
223 CXFile *file, in clang_getExpansionLocation() argument
228 CXLoadedDiagnostic::decodeLocation(location, file, line, column, offset); in clang_getExpansionLocation()
235 createNullLocation(file, line, column, offset); in clang_getExpansionLocation()
249 createNullLocation(file, line, column, offset); in clang_getExpansionLocation()
253 if (file) in clang_getExpansionLocation()
254 *file = const_cast<FileEntry *>(SM.getFileEntryForSLocEntry(sloc)); in clang_getExpansionLocation()
295 CXFile *file, in clang_getInstantiationLocation() argument
300 clang_getExpansionLocation(location, file, line, column, offset); in clang_getInstantiationLocation()
304 CXFile *file, in clang_getSpellingLocation() argument
309 CXLoadedDiagnostic::decodeLocation(location, file, line, in clang_getSpellingLocation()
317 return createNullLocation(file, line, column, offset); in clang_getSpellingLocation()
328 return createNullLocation(file, line, column, offset); in clang_getSpellingLocation()
330 if (file) in clang_getSpellingLocation()
331 *file = const_cast<FileEntry *>(SM.getFileEntryForID(FID)); in clang_getSpellingLocation()
341 CXFile *file, in clang_getFileLocation() argument
346 CXLoadedDiagnostic::decodeLocation(location, file, line, in clang_getFileLocation()
354 return createNullLocation(file, line, column, offset); in clang_getFileLocation()
364 return createNullLocation(file, line, column, offset); in clang_getFileLocation()
366 if (file) in clang_getFileLocation()
367 *file = const_cast<FileEntry *>(SM.getFileEntryForID(FID)); in clang_getFileLocation()