| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 84227
|
| |
|
|
|
|
|
|
|
|
| |
TypeLoc records for declarations; it should not be necessary to represent it
directly in the type system.
Please complain if you were using these classes and feel you can't replicate
previous functionality using the TypeLoc API.
llvm-svn: 84222
|
| |
|
|
| |
llvm-svn: 84208
|
| |
|
|
| |
llvm-svn: 84176
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
this is only used in darwin10, 64 bit ubuntu 9.10 and 64 bit openSUSE 11.1.
llvm-svn: 84115
|
| |
|
|
| |
llvm-svn: 84007
|
| |
|
|
| |
llvm-svn: 83898
|
| |
|
|
| |
llvm-svn: 83847
|
| |
|
|
| |
llvm-svn: 83666
|
| |
|
|
| |
llvm-svn: 83664
|
| |
|
|
| |
llvm-svn: 83663
|
| |
|
|
| |
llvm-svn: 83599
|
| |
|
|
|
|
|
| |
existing MinGW headers, plus the newer 4.4.0 version. Patch by John
Thompson.
llvm-svn: 83594
|
| |
|
|
| |
llvm-svn: 83582
|
| |
|
|
| |
llvm-svn: 83560
|
| |
|
|
| |
llvm-svn: 83357
|
| |
|
|
|
|
|
| |
assume that PCH files from different Clang revisions are not
compatible. Addresses <rdar://problem/7266572>.
llvm-svn: 83323
|
| |
|
|
|
|
|
| |
-fno-exceptions in C++ code. We used to always define __EXCEPTIONS in
C++.
llvm-svn: 83199
|
| |
|
|
| |
llvm-svn: 83112
|
| |
|
|
|
|
| |
interfaces.
llvm-svn: 83097
|
| |
|
|
|
|
| |
protocol references.
llvm-svn: 83094
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 82827
|
| |
|
|
|
|
| |
an empty virtual base class needs to be moved aside because it conflicts with the first field.
llvm-svn: 82746
|
| |
|
|
| |
llvm-svn: 82733
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 82703
|
| |
|
|
| |
llvm-svn: 82526
|
| |
|
|
| |
llvm-svn: 82525
|
| |
|
|
| |
llvm-svn: 82514
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 82435
|
| |
|
|
|
|
|
|
| |
predefines.
- It isn't really clear what to do with the preprocessor here, but this is more sensible.
llvm-svn: 82431
|
| |
|
|
|
|
| |
control of this.
llvm-svn: 82430
|
| |
|
|
|
|
| |
invalid CFGs to get analyzed.
llvm-svn: 82297
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 82078
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 81588
|
| |
|
|
| |
llvm-svn: 81510
|
| |
|
|
| |
llvm-svn: 81501
|
| |
|
|
| |
llvm-svn: 81462
|
| |
|
|
|
|
| |
local node information.
llvm-svn: 81433
|
| |
|
|
|
|
|
|
| |
such initializations properly convert constructor arguments and fill
in default arguments where necessary. This also makes the ownership
model more clear.
llvm-svn: 81394
|
| |
|
|
| |
llvm-svn: 81346
|