- Feb 15, 2008
-
-
Eli Friedman authored
llvm-svn: 47156
-
Anders Carlsson authored
llvm-svn: 47155
-
Eli Friedman authored
going on with mixing scopes, though. llvm-svn: 47152
-
- Feb 13, 2008
-
-
Ted Kremenek authored
branch ALWAYS be the last successor for a switch-terminated block. This allows clients to distinguish cases like the following: switch(...) case XXX: switch(...) { case YYY: ... } case ZZZ: .. } In this case, the block with "case ZZZ:" is the default block for the inner switch statement, but that case is associated with the outer switch statement, and not the inner one. Clients can test for this behavior by checking if a successor block is the last one (and thus just assume that this is the "default" case). llvm-svn: 47088
-
Ted Kremenek authored
"default" case. In such cases, we now correctly add the CFGBlock representing the code after the switch statement as a successor to the block terminated by the switch statement. llvm-svn: 47087
-
Eli Friedman authored
tgmath.h. Note that there is another issue with tgmath.h, so mandel.c still doesn't work. llvm-svn: 47069
-
Chris Lattner authored
llvm-svn: 47040
-
- Feb 12, 2008
-
-
Eli Friedman authored
llvm-svn: 47005
-
Eli Friedman authored
they are of type wchar_t[]. llvm-svn: 47004
-
Eli Friedman authored
llvm-svn: 47003
-
- Feb 10, 2008
-
-
Steve Naroff authored
Refine bug fix to Expr::isLvalue (commit r46917). llvm-svn: 46919
-
Steve Naroff authored
Change Expr::isLvalue() to allow the "void" type. This fixes bz2000 submitted by Neil Booth. Neil, can you point me to the place in the C99 spec that says this is allowed? I thought Expr::isLvalue() conformed to the spec, which says "C99 6.3.2.1: an lvalue is an expression with an object type or an incomplete type other than void.". Please advise. llvm-svn: 46917
-
- Feb 08, 2008
-
-
Anders Carlsson authored
llvm-svn: 46868
-
Anders Carlsson authored
llvm-svn: 46867
-
- Feb 07, 2008
-
-
Anders Carlsson authored
llvm-svn: 46855
-
Ted Kremenek authored
in a smaller encoding on disk. llvm-svn: 46832
-
- Feb 06, 2008
-
-
Eli Friedman authored
llvm-svn: 46830
-
Eli Friedman authored
llvm-svn: 46806
-
Eli Friedman authored
llvm-svn: 46799
-
Chris Lattner authored
eliminating a bunch of forwarding methods and generally simplifying things. llvm-svn: 46792
-
Anders Carlsson authored
llvm-svn: 46777
-
- Feb 04, 2008
-
-
Christopher Lamb authored
qualifiers use the __attribute__((address_space(id))) syntax. llvm-svn: 46691
-
- Feb 01, 2008
-
-
Ted Kremenek authored
and put the the next ObjcAtCatchStmt* as part of SubExprs. This fixes a bug with iterating over the children of ObjcAtCatch, where the next @catch was not properly being iterated over as a child. Altered serialization of ObjCAtCatchStmt to reflect this new layout of its subexpressions, and fixed an ownership issue with the next @catch not being serialized as an owned pointer. llvm-svn: 46647
-
- Jan 31, 2008
-
-
Anders Carlsson authored
llvm-svn: 46594
-
Steve Naroff authored
Add support for CallExpr::isBuiltinConstantExpr(). For now, this hook is used to support CFConstantStrings. Can be extended to support other built-in functions. This allows the following code to compile without error... #include <CoreFoundation/CoreFoundation.h> #define CONST_STRING_DECL(S, V) const CFStringRef S = (const CFStringRef)__builtin___CFStringMakeConstantString(V); CONST_STRING_DECL(kCFTimeZoneSystemTimeZoneDidChangeNotification, "kCFTimeZoneSystemTimeZoneDidChangeNotification") llvm-svn: 46592
-
Ted Kremenek authored
pretty-print a block's terminator. When building CFGs, for IfStmts ('if'), we no longer add the ParenExpr that is the subexpression of the IfStmt to the CFG; instead we add its first descendant subexpression that is not a ParenExpr. llvm-svn: 46580
-
- Jan 30, 2008
-
-
Nate Begeman authored
llvm-svn: 46572
-
Steve Naroff authored
Abolish a bunch of Xcode inserted tabs. llvm-svn: 46566
-
Fariborz Jahanian authored
llvm-svn: 46558
-
Chris Lattner authored
llvm-svn: 46547
-
- Jan 29, 2008
-
-
Fariborz Jahanian authored
Rewriting of @synchronized. This has one FIXME in it. But this should allow @sychronized to be rewritten. llvm-svn: 46533
-
Ted Kremenek authored
- Some minor optimizations of the encoding format for ObjCAtSynchronizedStmt. - Reordered methods so that the deserialization methods for ObjCAtSynchronizedStmt appear in alphabetical order with the corresponding methods of the other AST nodes. llvm-svn: 46529
-
Fariborz Jahanian authored
llvm-svn: 46524
-
Steve Naroff authored
Tighten up ASTContext::typesAreCompatible()...it needs to make sure the qualifiers match. The comment and C99 citation for this routine were correct...the code needed to conform to the comment/spec. This fixes the test added below. Tightening up this routine forced tweaks to Sema::CheckSubtractionOperands() and Sema::CheckCompareOperands(). For example, they both need to operate on the unqualified pointee... llvm-svn: 46522
-
Fariborz Jahanian authored
llvm-svn: 46520
-
Anders Carlsson authored
llvm-svn: 46515
-
Steve Naroff authored
Fix bz1950. ASTContext::functionTypesAreCompatible() needs to operate on the unqualified parameter types (per C99 6.7.5.3p15). llvm-svn: 46472
-
- Jan 26, 2008
-
-
Ted Kremenek authored
Added back logic in patch r46361 (http://llvm.org/viewvc/llvm-project?rev=46361&view=rev) with the addition of some previously missing NULL pointer checks. Modified the UninitializedValues analysis to not expect that every Expr* at the block-level is a block-level expression (we probably need to change the name of such expressions to something truer to their meaning). llvm-svn: 46380
-
http://llvm.org/viewvc/llvm-project?rev=46361&view=revTed Kremenek authored
I diagnose the source of the failures it causes in the test suite. llvm-svn: 46376
-
- Jan 25, 2008
-
-
Chris Lattner authored
llvm-svn: 46364
-