summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ExprConstant.cpp
Commit message (Expand)AuthorAgeFilesLines
* Support constant-evaluation of __builtin_nans* as well as the correct constantJohn McCall2010-02-281-13/+33
* Fix for PR6274: teach constant folding to evaluate __builtin_expect.Eli Friedman2010-02-131-2/+5
* Don't try to fold DeclRefExprs that point to ParmVarDecls. This had the side-...Anders Carlsson2010-02-031-0/+4
* In C++, an initializer on a variable doesn't necessarily mean it's the defini...Sebastian Redl2010-02-011-4/+2
* Change the return type of ASTContext::getDeclAlignInBytes() to CharUnits and,Ken Dyck2010-01-271-10/+12
* Created __builtin___NSStringMakeConstantString() builtin, which generates con...David Chisnall2010-01-231-1/+3
* Update and move around comments.Eric Christopher2010-01-191-1/+4
* Convert the type of the LValue offset variable in APValue to CharUnits, movingKen Dyck2010-01-151-35/+42
* Roll out ASTContext::getTypeSizeInChars(), replacing instances ofKen Dyck2010-01-111-17/+18
* Add Expr::EvaluateAsBooleanCondition(), which does unprincipled folding toJohn McCall2010-01-051-1/+9
* __builtin_object_size(ptr, type) returns -1 for type = {0,1} if there are any...Benjamin Kramer2010-01-031-1/+1
* Fix PointerExprEvaluator::VisitCastExpr so it doesn't misfold C++ casts whichEli Friedman2009-12-271-25/+42
* Remove some dead variables clang-analyzer found.Benjamin Kramer2009-12-251-2/+0
* Update for the intrinsic changes in llvm: the object size intrinsicEric Christopher2009-12-231-1/+2
* Use StringRef.getAsInteger instead of temporary string + strtol. No intended ...Benjamin Kramer2009-12-111-9/+3
* Clean up enum constants so that they're finally sane. Fixes PR3173 and aEli Friedman2009-12-101-10/+2
* Fix for PR5447: teach Evaluate to deal with floating-point conditionals.Eli Friedman2009-12-041-2/+10
* Add recursion guards to ice-checking and evaluation for declrefs, so weEli Friedman2009-12-031-4/+13
* Remove VISIBILITY_HIDDEN from lib/AST.Benjamin Kramer2009-11-281-8/+7
* Teach Evaluate to handle member expressions referring to enum constants andEli Friedman2009-11-241-8/+21
* Intercept sizeof and alignof references before they get into ASTContext metho...Sebastian Redl2009-11-231-2/+16
* Add constant evaluation for comma operator with floating-point operand. FixesEli Friedman2009-11-161-1/+13
* Added support for static variables which requireFariborz Jahanian2009-11-051-8/+7
* Refine volatile handling, specifically, we must have the canonicalMike Stump2009-11-031-2/+2
* silence a warning.Chris Lattner2009-11-031-1/+1
* When determining whether a reference to a static data member is anDouglas Gregor2009-11-011-6/+10
* Fix one more bug with __builtin_object_size.Mike Stump2009-10-291-1/+1
* Fix some issues Daniel pointed out.Mike Stump2009-10-291-3/+4
* optimize out some ifdefs.Chris Lattner2009-10-291-4/+0
* Implement clang support for indirect branch and address of labelChris Lattner2009-10-281-0/+5
* Refine __builtin_object_size. Don't try and get a size for thingsMike Stump2009-10-281-7/+12
* __builtin_object_size refinements. Ensure we handle expressions withMike Stump2009-10-271-2/+62
* __builtin_object_size refinements. Also handle stack based objects. WIP.Mike Stump2009-10-261-1/+28
* __builtin_object_size refinements. When we run out of object, be sureMike Stump2009-10-261-1/+5
* Be sure to zero-extend. And refactor.Mike Stump2009-10-261-6/+1
* __builtin_object_size refinements. WIP.Mike Stump2009-10-261-0/+30
* Ignore No-op casts when evaluating lvalue expressions. Fixes PR5122.Anders Carlsson2009-10-031-0/+10
* Refactor the representation of qualifiers to bring ExtQualType out of theJohn McCall2009-09-241-1/+1
* implement support for __builtin_eh_return_data_regno on x86-32 and x86-64.Chris Lattner2009-09-231-0/+6
* Change all the Type::getAsFoo() methods to specializations of Type::getAs().John McCall2009-09-211-5/+5
* Codegen support for nullptr from C++0x.Anders Carlsson2009-09-151-1/+2
* Add utility to evaluate lvalues which are an offset relative to a stack Eli Friedman2009-09-131-6/+16
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-112/+106
* Get rid of mostly-unused, buggy method.Eli Friedman2009-08-291-3/+3
* Change uses of:Ted Kremenek2009-07-291-4/+4
* This patch fixes the implementations of the __has_trivial_destructorDouglas Gregor2009-07-231-1/+1
* Revert r75641.Anders Carlsson2009-07-181-1/+1
* Per offline discussion with Steve Naroff, add back Type::getAsXXXType() methodsTed Kremenek2009-07-171-4/+4
* Replaced Type::getAsLValueReferenceType(), Type::getAsRValueReferenceType(), ...Ted Kremenek2009-07-171-1/+1
* Add member template 'Type::getAs<T>', which converts a Type* to a respective T*.Ted Kremenek2009-07-161-3/+3
OpenPOWER on IntegriCloud