- Apr 02, 2008
-
-
Steve Naroff authored
Fairly large "cleaup" related to changing ObjCCompatibleAliasDecl superclass (to inherit from NamedDecl, instead of ScopedDecl). - Added a DenseMap to associate an IdentifierInfo with the ObjCCompatibleAliasDecl. - Renamed LookupScopedDecl->LookupDecl and changed it's return type to Decl. Also added lookup for ObjCCompatibleAliasDecl's. - Removed Sema::LookupInterfaceDecl(). Converted clients to used LookupDecl(). - Some minor indentation changes. Will deal with ObjCInterfaceDecl and getObjCInterfaceDecl() in a separate commit... llvm-svn: 49058
-
Ted Kremenek authored
llvm-svn: 49057
-
David Greene authored
Iterators folloring a SmallVector erased element are invalidated so don't access cached iterators from after the erased element. llvm-svn: 49056
-
Bill Wendling authored
llvm-svn: 49055
-
- Apr 01, 2008
-
-
Evan Cheng authored
llvm-svn: 49054
-
Evan Cheng authored
llvm-svn: 49053
-
Ted Kremenek authored
llvm-svn: 49052
-
Ted Kremenek authored
llvm-svn: 49051
-
Dan Gohman authored
llvm-svn: 49050
-
Ted Kremenek authored
interpose calls to gcc with calls to the analyzer. llvm-svn: 49049
-
Dan Gohman authored
llvm-svn: 49048
-
Dale Johannesen authored
llvm-svn: 49046
-
Chris Lattner authored
llvm-svn: 49045
-
Chris Lattner authored
llvm-svn: 49044
-
Owen Anderson authored
llvm-svn: 49043
-
Chris Lattner authored
llvm-svn: 49042
-
Chris Lattner authored
start of a filename, not a filename+length. All clients can produce a null terminated name, and the system api's require null terminated strings anyway. llvm-svn: 49041
-
Chris Lattner authored
llvm-svn: 49040
-
Evan Cheng authored
llvm-svn: 49037
-
Chris Lattner authored
llvm-svn: 49036
-
Chris Lattner authored
llvm-svn: 49035
-
Chris Lattner authored
provides fast MappedFile::getFile for large files. llvm-svn: 49034
-
Chris Lattner authored
llvm-svn: 49033
-
Chris Lattner authored
The new MemoryBuffer doesn't "leak" file descriptors and handles the small file case efficiently. llvm-svn: 49032
-
Chris Lattner authored
1) stop using MappedFile. 2) if profitable use the sys::path::MapInFilePages api to read the file. 3) otherwise fallback to read. When sys::path::MapInFilePages is implemented, this provides several benefits: #1: this avoids fragmenting memory for small files. #2: this avoids extraneous stat calls when the file size is known. #3: this only keeps the file descriptor open while reading the file, not for the duration of the lifetime of the memory buffer. This fixes a serious clang FD 'leak' problem. I believe that this will work on a win32 machine, but I don't have one to test on. I'd appreciate it if someone could check. llvm-svn: 49031
-
Chris Lattner authored
llvm-svn: 49030
-
Chris Lattner authored
MemoryBuffer is higher level and more closely matches the model needed. llvm-svn: 49029
-
Chris Lattner authored
llvm-svn: 49028
-
Chris Lattner authored
llvm-svn: 49027
-
Chris Lattner authored
llvm-svn: 49026
-
Chris Lattner authored
make getBase() return a const-correct pointer. llvm-svn: 49025
-
Chris Lattner authored
not an mmapped file. This more closely matches its requirements and provides an implicitly null terminated buffer, something this routine had to emulate itself before. llvm-svn: 49024
-
Chris Lattner authored
llvm-svn: 49023
-
Chris Lattner authored
and shared. This complicates the design, is not used, and probably doesn't even work. llvm-svn: 49022
-
Chris Lattner authored
llvm-svn: 49021
-
Chris Lattner authored
llvm-svn: 49020
-
Evan Cheng authored
llvm-svn: 49016
-
Evan Cheng authored
llvm-svn: 49014
-
Evan Cheng authored
llvm-svn: 49013
-
Evan Cheng authored
llvm-svn: 49012
-