- Feb 20, 2009
-
-
Chris Lattner authored
llvm-svn: 65114
-
Chris Lattner authored
llvm-svn: 65113
-
Chris Lattner authored
llvm-svn: 65112
-
Chris Lattner authored
llvm-svn: 65111
-
Zhongxing Xu authored
llvm-svn: 65110
-
Eli Friedman authored
isn't getting used by Sema or CodeGen at the moment...) llvm-svn: 65107
-
Eli Friedman authored
llvm-svn: 65105
-
Chris Lattner authored
exactly one decl with a specific name in a specific context. This avoids a bunch of malloc traffic and shrinks StoredDeclsMap to hold one pointer instead of 3 words (for a std::vector). This speeds up -fsyntax-only on cocoa.h with PTH by ~7.3%. llvm-svn: 65103
-
Eli Friedman authored
This prevents emitting diagnostics which are almost certainly useless. (Note that the test is checking that we emit only one diagnostic.) llvm-svn: 65101
-
Eli Friedman authored
error, so we don't crash. llvm-svn: 65099
-
Eli Friedman authored
from the testsuite. llvm-svn: 65098
-
Fariborz Jahanian authored
llvm-svn: 65097
-
Chris Lattner authored
where there is exactly one existing declaration. This is common. this speeds up clang about 3% on cocoa.h for me 0.165 -> 0.160s llvm-svn: 65096
-
Chris Lattner authored
llvm-svn: 65095
-
Chris Lattner authored
llvm-svn: 65094
-
Mike Stump authored
llvm-svn: 65093
-
Chris Lattner authored
t.m:5:2: error: invalid operands to binary expression ('typeof(P)' (aka 'struct mystruct') and 'typeof(F)' (aka 'float')) MAX(P, F); ^~~~~~~~~ t.m:1:78: note: instantiated from: #define MAX(A,B) ({ __typeof__(A) __a = (A); __typeof__(B) __b = (B); __a < __b ? __b : __a; }) ^ (no ranges on the second diagnostics) After: t.m:5:2: error: invalid operands to binary expression ('typeof(P)' (aka 'struct mystruct') and 'typeof(F)' (aka 'float')) MAX(P, F); ^~~~~~~~~ t.m:1:78: note: instantiated from: #define MAX(A,B) ({ __typeof__(A) __a = (A); __typeof__(B) __b = (B); __a < __b ? __b : __a; }) ~~~ ^ ~~~ (ranges!) llvm-svn: 65090
-
Mike Stump authored
llvm-svn: 65089
-
Chris Lattner authored
DiagnosticInfo. llvm-svn: 65088
-
rdar://problem/6562655Ted Kremenek authored
Fix crash from <rdar://problem/6562655>: 'init' method only return a receiver alias if the return type is a location. llvm-svn: 65084
-
Chris Lattner authored
use Blocks for our callbacks ;-) llvm-svn: 65083
-
Ted Kremenek authored
transitions and then generate a subsequent node that removes the dead symbol bindings. This should drastically improve caching in the simulation graph when retain-counted objects are being tracked. llvm-svn: 65082
-
Chris Lattner authored
information about types. We often print diagnostics where we say "foo_t" is bad, but the user doesn't know how foo_t is declared (because it is a typedef). Fix this by expanding sugar when present in a diagnostic (and not one of a few special cases, like vectors). Before: t.m:5:2: error: invalid operands to binary expression ('typeof(P)' and 'typeof(F)') MAX(P, F); ^~~~~~~~~ t.m:1:78: note: instantiated from: #define MAX(A,B) ({ __typeof__(A) __a = (A); __typeof__(B) __b = (B); __a < __b ? __b : __a; }) ^ After: t.m:5:2: error: invalid operands to binary expression ('typeof(P)' (aka 'struct mystruct') and 'typeof(F)' (aka 'float')) MAX(P, F); ^~~~~~~~~ t.m:1:78: note: instantiated from: #define MAX(A,B) ({ __typeof__(A) __a = (A); __typeof__(B) __b = (B); __a < __b ? __b : __a; }) ^ llvm-svn: 65081
-
Ted Kremenek authored
PostStmt program point. This allows clients to pass in PostStmtCustom program points. llvm-svn: 65080
-
Chris Lattner authored
llvm-svn: 65078
-
Fariborz Jahanian authored
llvm-svn: 65077
-
Chris Lattner authored
llvm-svn: 65076
-
- Feb 19, 2009
-
-
Daniel Dunbar authored
- PR3463, PR3398, <rdar://problem/6553401> crash on relocatable symbol addresses as constants in static locals. - There are many more scenarious we could handle (like arithmetic on such an int) but this is the main use case. llvm-svn: 65074
-
Daniel Dunbar authored
llvm-svn: 65073
-
Ted Kremenek authored
llvm-svn: 65072
-
Ted Kremenek authored
llvm-svn: 65071
-
Mike Stump authored
appear to be constant. I'll probably redo this and throw it all away later once we have codegen for BlockDeclRefExprs. llvm-svn: 65070
-
Daniel Dunbar authored
only occur for pointer types; they are also possible for integer types now. - No intended functionality change, IntExprEvaluate doesn't return LValue results yet. llvm-svn: 65066
-
Daniel Dunbar authored
- Prep for handling lvalues, no intended functionality change. llvm-svn: 65063
-
Daniel Dunbar authored
- <rdar://problem/6094103> sema fails to promote type arguments to __builtin_isgreater (and friends) llvm-svn: 65059
-
Anders Carlsson authored
llvm-svn: 65056
-
Anders Carlsson authored
llvm-svn: 65055
-
Daniel Dunbar authored
manual setting of the Result. - Idiom now enforces that result will always have correct width and type; this exposed three new bugs: o Enum constant decl value can have different width than type (PR3173). o EvaluateInteger should not run an IntExprEvaluator over non-integral expressions. o FloatExprEvaluate was not handling casts correctly (it was evaluating the cast in the IntExprEvaluator!). llvm-svn: 65053
-
Chris Lattner authored
t.c:1:10: error: missing terminating '>' character #include <stdio.h ^ instead of: t.c:1:10: error: missing terminating " character #include <stdio.h ^ llvm-svn: 65052
-
Fariborz Jahanian authored
llvm-svn: 65051
-