- Oct 15, 2009
-
-
Edward O'Callaghan authored
llvm-svn: 84176
-
John McCall authored
most of the unsafe boilerplate out of TypeLoc. Create a QualifiedLoc class to represent the idea that we *might* start representing source locations of qualifiers. Dealing with qualifiers explicitly like this also lets us efficiently ignore them in all the concrete cases. This should make it obvious and easy to add new TypeLoc subclasses. llvm-svn: 84168
-
- Oct 14, 2009
-
-
Rafael Espindola authored
this is only used in darwin10, 64 bit ubuntu 9.10 and 64 bit openSUSE 11.1. llvm-svn: 84115
-
- Oct 13, 2009
-
-
John Thompson authored
llvm-svn: 84007
-
- Oct 12, 2009
-
-
Mike Stump authored
llvm-svn: 83898
-
Edward O'Callaghan authored
llvm-svn: 83847
-
- Oct 09, 2009
-
-
Mike Stump authored
llvm-svn: 83666
-
Mike Stump authored
llvm-svn: 83664
-
Axel Naumann authored
llvm-svn: 83663
-
Mike Stump authored
llvm-svn: 83599
-
Mike Stump authored
existing MinGW headers, plus the newer 4.4.0 version. Patch by John Thompson. llvm-svn: 83594
-
Douglas Gregor authored
llvm-svn: 83582
-
- Oct 08, 2009
-
-
Ted Kremenek authored
llvm-svn: 83560
-
- Oct 06, 2009
-
-
Rafael Espindola authored
llvm-svn: 83357
-
- Oct 05, 2009
-
-
Douglas Gregor authored
assume that PCH files from different Clang revisions are not compatible. Addresses <rdar://problem/7266572>. llvm-svn: 83323
-
- Oct 01, 2009
-
-
Rafael Espindola authored
-fno-exceptions in C++ code. We used to always define __EXCEPTIONS in C++. llvm-svn: 83199
-
- Sep 29, 2009
-
-
Argyrios Kyrtzidis authored
llvm-svn: 83112
-
Argyrios Kyrtzidis authored
llvm-svn: 83097
-
Argyrios Kyrtzidis authored
llvm-svn: 83094
-
Argyrios Kyrtzidis authored
This is used only for keeping detailed type source information for protocol references, it should not participate in the semantics of the type system. Its protocol list is not canonicalized. llvm-svn: 83093
-
- Sep 26, 2009
-
-
Dan Gohman authored
createBitcodeWriterPass instead of the underlying raw_ostream. This avoids trouble with formatted_raw_ostream's behavior of setting the underlying stream to be unbuffered, which resulted in clang -emit-llvm -S using unbuffered output. llvm-svn: 82857
-
Ted Kremenek authored
avoid scanning for an "entry point" FunctionDecl if we (a) have no translation unit actions and (b) no entry point function has been specified. llvm-svn: 82846
-
Anders Carlsson authored
llvm-svn: 82827
-
- Sep 25, 2009
-
-
Anders Carlsson authored
Who would have thought that empty classes were so tricky? Handle cases where an empty virtual base class needs to be moved aside because it conflicts with the first field. llvm-svn: 82746
-
Anders Carlsson authored
llvm-svn: 82733
-
- Sep 24, 2009
-
-
John McCall authored
Type hierarchy. Demote 'volatile' to extended-qualifier status. Audit our use of qualifiers and fix a few places that weren't dealing with qualifiers quite right; many more remain. llvm-svn: 82705
-
Anders Carlsson authored
llvm-svn: 82703
-
- Sep 22, 2009
-
-
Daniel Dunbar authored
llvm-svn: 82526
-
Daniel Dunbar authored
llvm-svn: 82525
-
Daniel Dunbar authored
llvm-svn: 82514
-
John McCall authored
Several of the existing methods were identical to their respective specializations, and so have been removed entirely. Several more 'leaf' optimizations were introduced. The getAsFoo() methods which imposed extra conditions, like getAsObjCInterfacePointerType(), have been left in place. llvm-svn: 82501
-
- Sep 21, 2009
-
-
Daniel Dunbar authored
llvm-svn: 82435
-
Daniel Dunbar authored
- It isn't really clear what to do with the preprocessor here, but this is more sensible. llvm-svn: 82431
-
Daniel Dunbar authored
llvm-svn: 82430
-
- Sep 19, 2009
-
-
Ted Kremenek authored
Fix regression introduced by r82198 that caused functions/methods with invalid CFGs to get analyzed. llvm-svn: 82297
-
- Sep 18, 2009
-
-
Ted Kremenek authored
pruning of diagnostics that may be emitted multiple times. This is accomplished by adding FoldingSet profiling support to PathDiagnostic, and then having BugReporter record what diagnostics have been issued. This was motived to a serious bug introduced by moving the 'divide-by-zero' checking outside of GRExprEngine into a separate 'Checker' class. When analyzing code using the '-fobjc-gc' option, a given function would be analyzed twice, but the second time various "internal checks" would be disabled to avoid emitting multiple diagnostics (e.g., "null dereference") for the same issue. The problem is that such checks also effect path pruning and don't just emit diagnostics. This resulted in an assertion failure involving a real divide-by-zero in some analyzed code where we would get an assertion failure in APInt because the 'DivZero' check was disabled and didn't prune the logic that resulted in the divide-by-zero in the analyzer. The implemented solution is somewhat of a hack, and may not perform extremely well. This will need to be cleaned up over time. As a regression test, 'misc-ps.m' has been modified so that its tests are run using -fobjc-gc to test this diagnostic pruning behavior. llvm-svn: 82198
-
- Sep 17, 2009
-
-
Daniel Dunbar authored
PCH: When writing PCH files, tweak the predicate function deciding whether to mark a decl as "external" to be closer to reality. This still isn't perfect, but I believe it is conservatively accurate at marking decls which IRgen needs to see, while still keeping the "deserialization footprint" on Cocoa.h. llvm-svn: 82112
-
Daniel Dunbar authored
PCH: When deserializing an explicit "external definition", don't pass it to HandleTopLevelDecl -- this is already being done inside the reader. This is something of a hack, since whether the reader actually did this depends on the "isConsumerInterestedIn" predicate. I think we need to rework how this works, but I need to discuss with Doug. llvm-svn: 82111
-
- Sep 16, 2009
-
-
Mike Stump authored
llvm-svn: 82078
-
- Sep 13, 2009
-
-
Douglas Gregor authored
generated for an inline function definition, taking into account C99 and GNU inline/extern inline semantics. This solution is simpler, cleaner, and fixes PR4536. llvm-svn: 81670
-