- Feb 25, 2008
-
-
Chris Lattner authored
llvm-svn: 47560
-
- Feb 23, 2008
-
-
Eli Friedman authored
llvm-svn: 47530
-
Ted Kremenek authored
The patch fixes some debug assertions that the msvcrt throws: 1) - if (isprint(value) && value < 256) { + if (value < 256 && isprint(value)) { isprint() does an assertion check of its own for value < 256; check value before calling it to prevent it. 2) - Stmt->Names.push_back(std::string(&data[0], data.size())); + if (data.size() == 0) + Stmt->Names.push_back(std::string()); + else + Stmt->Names.push_back(std::string(&data[0], data.size())); If data.size() == 0 then data[0] throws "out of range" assertion. llvm-svn: 47512
-
- Feb 21, 2008
-
-
Gabor Greif authored
because silly gcc 3.4.6 barfs on this construct. Type.h defines an "enum TQ", which makes the parser to err. llvm-svn: 47438
-
Chris Lattner authored
llvm-svn: 47429
-
- Feb 20, 2008
-
-
Chris Lattner authored
rename QualType::getQualifiers to getCVRQualifiers. Add some fixme's and clean up some code relevant to qualifiers. Change ASQualType to contain a Type* instead of a QualType. Any CVR qualifiers should be on the outer qual type. llvm-svn: 47398
-
- Feb 18, 2008
-
-
Steve Naroff authored
Tweak fix for http://llvm.org/bugs/show_bug.cgi?id=2000 to work across typedefs. llvm-svn: 47269
-
Anders Carlsson authored
llvm-svn: 47260
-
Anders Carlsson authored
llvm-svn: 47259
-
- Feb 17, 2008
-
-
Eli Friedman authored
llvm-svn: 47233
-
- Feb 16, 2008
-
-
Anders Carlsson authored
llvm-svn: 47216
-
Anders Carlsson authored
llvm-svn: 47210
-
Anders Carlsson authored
llvm-svn: 47202
-
Anders Carlsson authored
llvm-svn: 47191
-
- Feb 15, 2008
-
-
Eli Friedman authored
IncompleteArrayType. This should make code dealing with both incomplete and variable length arrays much more readable, plus it allows properly making the distinction between isVariableArrayType() and isVariablyModifiedType(). The patch is a little big, but it's strightforward. so I don't think there should be any issues. llvm-svn: 47165
-
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
-