Go to file
Douglas Gregor e664276bcf Teach SourceManager::getLocation() how to cope with a source file
whose inode has changed since the file was first created and that is
being seen through a different path name (e.g., due to symlinks or
relative path elements), such that its FileEntry pointer doesn't match
a known FileEntry pointer. Since this requires a system call (to
stat()), we only perform this deeper checking if we can't find the
file by comparing FileEntry pointers.

Also, add a micro-optimization where we don't bother to compute line
numbers when given the location (1, 1). This improves the
efficiency of clang_getLocationForOffset().
 

llvm-svn: 124800
2011-02-03 17:17:35 +00:00
clang Teach SourceManager::getLocation() how to cope with a source file 2011-02-03 17:17:35 +00:00
compiler-rt clang_darwin: We don't need clear_cache for use with Clang on ARM/Darwin. 2011-01-21 18:23:47 +00:00
debuginfo-tests Test case for r123199. 2011-01-11 00:31:01 +00:00
libcxx Missing traits::to_int_type in fstream 2011-02-02 17:37:16 +00:00
lldb Fixed the SendInterrupt logic to return the true if the target was halted 2011-02-03 01:07:45 +00:00
llvm Return live range end points from SplitEditor::enter*/leave*. 2011-02-03 17:04:16 +00:00