- Feb 20, 2009
-
-
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
-
Ted Kremenek authored
retain/release checker: Fix crasher when the leak site is the same expression that allocates an object. llvm-svn: 65047
-
Chris Lattner authored
uniquing array types. llvm-svn: 65046
-
Zhongxing Xu authored
llvm-svn: 65041
-
Daniel Dunbar authored
- Handles assignment to Result with appropriate type. - Simplifies & encapsulates most direct handling of the Result value; prep for allowing IntExprEvaluator to deal with LValue APValues. - No intended functionality change. llvm-svn: 65038
-
Zhongxing Xu authored
that this problem arises from time to time. We should find a fundamental solution for it. llvm-svn: 65035
-
Daniel Dunbar authored
- <rdar://problem/6584606> clang/x86-64 - too many reg saves llvm-svn: 65032
-
Daniel Dunbar authored
llvm-svn: 65031
-
Chris Lattner authored
already an entry and one to insert). llvm-svn: 65030
-
Chris Lattner authored
llvm-svn: 65029
-
Chris Lattner authored
llvm-svn: 65028
-