aboutsummaryrefslogtreecommitdiff
path: root/AST/Expr.cpp
AgeCommit message (Expand)Author
2008-03-15Make a major restructuring of the clang tree: introduce a top-levelChris Lattner
2008-03-05remove the source location arguments to various target query methods.Chris Lattner
2008-02-27Removed VarDecl::hasStaticStorage() (redundant with hasGlobalStorage())Ted Kremenek
2008-02-21implement codegen support for sizeof(void), fixing PR2080.Chris Lattner
2008-02-20Alternate address spaces work:Chris Lattner
2008-02-18Tweak fix for http://llvm.org/bugs/show_bug.cgi?id=2000 to work across typedefs.Steve Naroff
2008-02-18Fix bug where we would report the wrong value for __alignof__ with an expr th...Anders Carlsson
2008-02-16Make sizeof and __alignof work correctly with packed structs.Anders Carlsson
2008-02-15Remove useless parameter from isConstantSizeType.Eli Friedman
2008-02-13Fix a minor bug in isNullPointerConstant triggered by the linux Eli Friedman
2008-02-13Move IgnoreParenCasts to be a method on Expr.Chris Lattner
2008-02-10Refine bug fix to Expr::isLvalue (commit r46917).Steve Naroff
2008-02-10Change Expr::isLvalue() to allow the "void" type. This fixes bz2000 submitted...Steve Naroff
2008-01-31Make CallExpr::isBuiltinConstantExpr slightly more efficient.Anders Carlsson
2008-01-31Add support for CallExpr::isBuiltinConstantExpr(). For now, this hook is used...Steve Naroff
2008-01-30Implement first round of feedback on __builtin_overloadNate Begeman
2008-01-29Implement __builtin_offsetof.Anders Carlsson
2008-01-25fix isIntegerConstantExpr evaluation of unary !.Chris Lattner
2008-01-25Support checking and codegen of constant vector globalsNate Begeman
2008-01-17Implement basic overload support via a new builtin, __builtin_overload.Nate Begeman
2008-01-17Added method Expr::IgnoreParens(), which returns the first non-ParenExpr Expr*.Ted Kremenek
2008-01-14Record if a compound literal expression is @ file scope. This allows us to im...Steve Naroff
2008-01-14Revert r45951, Chris says it violates the C99 spec.Steve Naroff
2008-01-14Rewrite Expr::isNullPointerConstant() to deal with multiple levels of explici...Steve Naroff
2008-01-12Fix the type of predefined identifiers like __func__. Patch byChris Lattner
2008-01-10- Teach Expr::isConstantExpr() about InitListExpr's (and offsetof, since I no...Steve Naroff
2008-01-09Fix isIntegerConstantExpr to compare against zero for casts to bool instead ofChris Lattner
2008-01-09Teach Expr::isConstantExpr() about CompoundLiterals.Steve Naroff
2008-01-07Substituted all instances of the string "Objc" for "ObjC". This fixesTed Kremenek
2008-01-02Fix PR1895: a crash on an ugly gcc extension.Chris Lattner
2007-12-29Don't attribute in file headers anymore. See llvmdev for theChris Lattner
2007-12-28Add accessors + iterator interface.Chris Lattner
2007-12-18Fix the location we emit the "not a constant" error for this:Chris Lattner
2007-12-17Fixed another case where sizeof() returns the size in bytes, not bits.Ted Kremenek
2007-12-15Removed "isSizeOfExpr" mode from StmtIterator. It turned out not to beTed Kremenek
2007-12-14Added "mode" to StmtIterator to record if the expression being iteratedTed Kremenek
2007-12-14Added support to StmtIterator to traverse the size expression of a VLA typeTed Kremenek
2007-12-12TargetInfo no longer includes a reference to SourceManager.Ted Kremenek
2007-12-11Fix a case where we'd return "is not a constant expr" withoutChris Lattner
2007-12-05Recognize CompoundLiteralExpr's as valid lvalue's.Steve Naroff
2007-12-01Compute side-effect for conditional expression.Fariborz Jahanian
2007-12-01make the unused expression warning less noisy by not warning about comma expr...Chris Lattner
2007-11-30String literals are always valid LValues.Anders Carlsson
2007-11-30GCC has an extension where the left hand side of the ? : operator can be omit...Anders Carlsson
2007-11-28fix compilation error noticed by Nuno LopesChris Lattner
2007-11-27add several cases that Expr::hasStaticStorage missed, pointed out by Oliver HuntChris Lattner
2007-11-27sizeof is defined by bitsin(char) not by units of 8 bits.Chris Lattner
2007-11-25sizeof() return size in bytes, not bits, patch by Nuno Lopes!Chris Lattner
2007-11-15Finish up variadic methods/messages.Steve Naroff
2007-11-13improve handling of address of global when checking forChris Lattner