- Jan 28, 2009
-
-
Ted Kremenek authored
Patch by Alexei Svitkine: Refactor Sema::ParseAST API to allow clients to pass as an argument a TranslationUnit object whose contents live beyond the call to ParseAST. llvm-svn: 63175
-
Mike Stump authored
llvm-svn: 63168
-
Daniel Dunbar authored
size/alignment/offsetof based tests of types instead of calling convention tests. llvm-svn: 63167
-
Fariborz Jahanian authored
accessibility of the ivar (related to objc2's non-fragile abi). llvm-svn: 63166
-
Fariborz Jahanian authored
Changed section names for meta-data (to match current gcc). llvm-svn: 63163
-
Ted Kremenek authored
llvm-svn: 63162
-
Nuno Lopes authored
llvm-svn: 63160
-
Ted Kremenek authored
Performance impact (clang -fsyntax-only INPUTS/Cocoa_h.m): non-PTH: 0.4% improvement PTH: 0.8% improvement llvm-svn: 63159
-
Nuno Lopes authored
llvm-svn: 63158
-
Ted Kremenek authored
llvm-svn: 63157
-
Steve Naroff authored
snaroff% time ../../Release-Asserts/bin/clang INPUTS/Cocoa_h.m 0.179u 0.051s 0:00.23 95.6% 0+0k 0+0io 0pf+0w snaroff% time ../../Release-Asserts/bin/clang INPUTS/Cocoa_h.m -disable-free 0.169u 0.052s 0:00.22 95.4% 0+0k 0+0io 0pf+0w llvm-svn: 63153
-
Sebastian Redl authored
llvm-svn: 63150
-
- Jan 27, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 63141
-
Ted Kremenek authored
llvm-svn: 63140
-
Steve Naroff authored
Also changed FunctionTypeProto to be allocated with 8-byte alignment (noticed by Doug). I couldn't think of any reason to allocate on 16-byte boundaries. If anyone remembers why we were doing this, let me know! llvm-svn: 63137
-
Steve Naroff authored
Remove many references to ASTContext::getAllocator(), replacing them with calls to the recently added placement new (which uses ASTContext's allocator for memory). Also added ASTContext::Deallocate(). This will simplify runtime replacement of ASTContext's allocator. Keeping the allocator private (and removing getAllocator() entirely) is also goodness. llvm-svn: 63135
-
Daniel Dunbar authored
doesn't set the relocation model when -mdynamic-no-pic is present. llvm-svn: 63129
-
Anders Carlsson authored
If an input constraint refers to an output constraint, it should have the same constraint info as the output constraint. Fixes PR3417 llvm-svn: 63127
-
Fariborz Jahanian authored
Still more work to do in this area. llvm-svn: 63126
-
Daniel Dunbar authored
machine as x86_64. llvm-svn: 63122
-
Chris Lattner authored
llvm-svn: 63117
-
Fariborz Jahanian authored
llvm-svn: 63116
-
Chris Lattner authored
llvm-svn: 63113
-
Chris Lattner authored
llvm-svn: 63112
-
Chris Lattner authored
.def file for each library. This means that adding a diagnostic to sema doesn't require all the other libraries to be rebuilt. Patch by Anders Johnsen! llvm-svn: 63111
-
Ted Kremenek authored
Fix bug in BasicStore::getLValueElement where if the base of an array subscript expression was an ElementRegion we stacked another ElementRegion on top of that. This fixes PR 3422. llvm-svn: 63110
-
Chris Lattner authored
of a type. The implementation is currently something of a hack, but is sufficient for now and allows clients to be built on it. llvm-svn: 63108
-
Eli Friedman authored
llvm-svn: 63101
-
Eli Friedman authored
__extension__. This sort of construct shows up in the gcc source code. llvm-svn: 63100
-
Chris Lattner authored
as reported to the user and as manipulated by #line. This is what __FILE__, __INCLUDE_LEVEL__, diagnostics and other things should follow (but not dependency generation!). This patch also includes several cleanups along the way: - SourceLocation now has a dump method, and several other places that did similar things now use it. - I cleaned up some code in AnalysisConsumer, but it should probably be simplified further now that NamedDecl is better. - TextDiagnosticPrinter is now simplified and cleaned up a bit. This patch is a prerequisite for #line, but does not actually provide any #line functionality. llvm-svn: 63098
-
Chris Lattner authored
llvm-svn: 63097
-
Ted Kremenek authored
llvm-svn: 63095
-
Chris Lattner authored
llvm-svn: 63094
-
Chris Lattner authored
address space we used up. Some interesting data: For c99-intconst-1.c: 6912762 SLocEntry's allocated, 25592386B of Sloc address space used. For cocoa.h: 26469 SLocEntry's allocated, 10278752B of Sloc address space used. For carbon.h: 27364 SLocEntry's allocated, 12398141B of Sloc address space used. Clearly 2G of sloc address space should be enough for anyone?! llvm-svn: 63093
-
Chris Lattner authored
llvm-svn: 63092
-
Daniel Dunbar authored
- gcc appears to be classifying <1 x double> as INTEGER which is odd. Will investigate later. llvm-svn: 63086
-
Chris Lattner authored
llvm-svn: 63085
-
Ted Kremenek authored
- Add the distinction between the 'bug type' and the 'bug description' HTMLDiagnostics: - Output the bug type field as HTML comments scan-build: - Use the bug type field instead of the bug description for the HTML table. - Radar filing now automatically picks up the bug description in the title (addresses <rdar://problem/6265970>) llvm-svn: 63084
-
Daniel Dunbar authored
- Code quality is poor, but simple. llvm-svn: 63083
-
Ted Kremenek authored
llvm-svn: 63080
-