- Jan 28, 2009
-
-
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
-
Ted Kremenek authored
PTH: Use Token::setLiteralData() to directly store a pointer to cached spelling data in the PTH file. This removes a ton of code for looking up spellings using sourcelocations in the PTH file. This simplifies both PTH-generation and reading. Performance impact for -fsyntax-only on Cocoa.h (with Cocoa.h in the PTH file): - PTH generation time improves by 5% - PTH reading improves by 0.3%. llvm-svn: 63072
-
Fariborz Jahanian authored
llvm-svn: 63071
-
Daniel Dunbar authored
builtins-x86.c. llvm-svn: 63069
-
Daniel Dunbar authored
case correctly. llvm-svn: 63068
-
- Jan 26, 2009
-
-
Fariborz Jahanian authored
as well (for nonfragile-abi). llvm-svn: 63062
-
Douglas Gregor authored
- When it's safe, ActionResult uses the low bit of the pointer for the "invalid" flag rather than a separate "bool" value. This keeps GCC from generating some truly awful code, for a > 3x speedup in the result-passing microbenchmark. - When DISABLE_SMART_POINTERS is defined, store an ActionResult within ASTOwningResult rather than an ASTOwningPtr. Brings the performance benefits of the above to smart pointers with DISABLE_SMART_POINTERS defined. Sadly, these micro-benchmark performance improvements don't seem to make much of a difference on Cocoa.h right now. However, they're harmless and might help with future optimizations. llvm-svn: 63061
-
Chris Lattner authored
optimize it to use the LiteralData when possible. llvm-svn: 63060
-
Chris Lattner authored
to crash when given an instantiation location. Thanks to Fariborz for the testcase. llvm-svn: 63057
-
Sebastian Redl authored
llvm-svn: 63055
-
Ted Kremenek authored
llvm-svn: 63054
-
Ted Kremenek authored
llvm-svn: 63052
-