| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Invalidate the alloca region by setting its default value to conjured symbol. | Zhongxing Xu | 2009-06-29 | 1 | -2/+11 |
| | | | | | llvm-svn: 74419 | ||||
| * | Make the StackProtector bitfield use enums instead of obscure numbers. | Bill Wendling | 2009-06-28 | 3 | -5/+5 |
| | | | | | llvm-svn: 74414 | ||||
| * | Move the check for vprintf* functions inside of SemaCheckStringLiteral. ↵ | Anders Carlsson | 2009-06-28 | 1 | -25/+22 |
| | | | | | | | Fixes PR4470. llvm-svn: 74413 | ||||
| * | Fix incorrect AST's being produced, noticed by Eli. | Nate Begeman | 2009-06-28 | 1 | -10/+4 |
| | | | | | | | The issue this was working around is no longer present in TOT clang. llvm-svn: 74411 | ||||
| * | Adjust retrieve handler priority. If a field is of array type, it should be | Zhongxing Xu | 2009-06-28 | 1 | -6/+6 |
| | | | | | | | handled by RetrieveArray(). llvm-svn: 74409 | ||||
| * | Invalidate a field of struct type by setting its default value to conjured | Zhongxing Xu | 2009-06-28 | 1 | -4/+15 |
| | | | | | | | symbol. llvm-svn: 74408 | ||||
| * | Do not crash on binding concrete integer location. | Zhongxing Xu | 2009-06-28 | 2 | -0/+6 |
| | | | | | llvm-svn: 74407 | ||||
| * | Simplify some code. As in region store, we always expect the location is a | Zhongxing Xu | 2009-06-28 | 1 | -41/+34 |
| | | | | | | | memregion. llvm-svn: 74406 | ||||
| * | Add stack protector support to clang. This generates the 'ssp' and 'sspreq' | Bill Wendling | 2009-06-28 | 5 | -4/+58 |
| | | | | | | | | | function attributes. There are predefined macros that are defined when stack protectors are used: __SSP__=1 with -fstack-protector and __SSP_ALL__=2 with -fstack-protector-all. llvm-svn: 74405 | ||||
| * | OpenCL 1.0 support: | Nate Begeman | 2009-06-28 | 1 | -29/+46 |
| | | | | | | | | | Handle rules for ExtVector + ExtVector and ExtVector + Scalar operations. Fix problem Eli noticed where we were allowing pointer types to be splatted to vector elements. llvm-svn: 74404 | ||||
| * | Implement feedback from Eli re: the purpose of lax vector conversions | Nate Begeman | 2009-06-27 | 1 | -13/+2 |
| | | | | | llvm-svn: 74397 | ||||
| * | Improve support for overloaded operator templates. | Douglas Gregor | 2009-06-27 | 4 | -26/+45 |
| | | | | | llvm-svn: 74390 | ||||
| * | Fix the parser error hanlding for __builtin_offsetof to actually print | Eli Friedman | 2009-06-27 | 1 | -6/+7 |
| | | | | | | | out an error for a malformed __builtin_offsetof. llvm-svn: 74388 | ||||
| * | Renamed MarcDestructorReferenced -> MarkDestructorReferenced | Fariborz Jahanian | 2009-06-27 | 4 | -6/+6 |
| | | | | | llvm-svn: 74386 | ||||
| * | Fix screwup with my previous patch which broke tests. (The patch is | Eli Friedman | 2009-06-27 | 1 | -1/+1 |
| | | | | | | | | making sure we return true when annotating a function template with explicit template arguments, but not when we don't annotate anything.) llvm-svn: 74383 | ||||
| * | Fix a crash with constructs like x<false>() in C++. No testcase because | Eli Friedman | 2009-06-27 | 1 | -1/+1 |
| | | | | | | | it doesn't actually work yet; we just error out a bit more gracefully. llvm-svn: 74381 | ||||
| * | Fix a bogus error overloading an operator where the only class | Eli Friedman | 2009-06-27 | 1 | -2/+3 |
| | | | | | | | parameter has a dependent type. llvm-svn: 74380 | ||||
| * | Implement support for the format_arg attribute. Fixes PR4442. | Anders Carlsson | 2009-06-27 | 1 | -0/+21 |
| | | | | | llvm-svn: 74369 | ||||
| * | Make it possible for using decls to point to operators. Fixes PR4441. | Anders Carlsson | 2009-06-27 | 4 | -11/+35 |
| | | | | | llvm-svn: 74362 | ||||
| * | Remove the last 'GetXXX' methods from GRStateManager. | Ted Kremenek | 2009-06-27 | 1 | -0/+31 |
| | | | | | llvm-svn: 74361 | ||||
| * | Patch to mark destructors when they are used. | Fariborz Jahanian | 2009-06-26 | 5 | -7/+84 |
| | | | | | llvm-svn: 74359 | ||||
| * | Fix test. | Anders Carlsson | 2009-06-26 | 1 | -0/+7 |
| | | | | | llvm-svn: 74358 | ||||
| * | Set the rest of the flags we need to perform template argument | Douglas Gregor | 2009-06-26 | 1 | -5/+28 |
| | | | | | | | | deduction using a base class of the argument type. No actual functionality change; this is just a hook. llvm-svn: 74356 | ||||
| * | During template argument deduction from a function call, allow | Douglas Gregor | 2009-06-26 | 1 | -28/+69 |
| | | | | | | | | | deduction from pointer and pointer-to-member types to work even in the presence of a qualification conversion (C++ [temp.deduct.type]p3 bullet 2). llvm-svn: 74354 | ||||
| * | More auto work. | Anders Carlsson | 2009-06-26 | 1 | -0/+46 |
| | | | | | llvm-svn: 74339 | ||||
| * | A little template argument deduction test uncovered an "oops". As part | Douglas Gregor | 2009-06-26 | 1 | -87/+61 |
| | | | | | | | | | | | of template instantiation, we were dropping cv-qualifiers on the instantiated type in a few places. This change reshuffles the type-instantiation code a little bit so that there's a single place where we add qualifiers to the instantiated type, so that we won't end up with this same bug in the future. llvm-svn: 74331 | ||||
| * | OpenCL 1.0 Support: fix a bug with lvalue swizzles | Nate Begeman | 2009-06-26 | 1 | -3/+4 |
| | | | | | llvm-svn: 74324 | ||||
| * | Template argument deduction is no longer responsible for checking | Douglas Gregor | 2009-06-26 | 1 | -32/+100 |
| | | | | | | | | | | | | | | non-dependent parameter types. Instead, class template partial specializations perform a final check of all of the instantiated arguments. This model is cleaner, and works better for function templates where the "final check" occurs during overload resolution. Also, cope with cv-qualifiers when the parameter type was originally a reference type, so that the deduced argument can be more qualified than the transformed argument. llvm-svn: 74323 | ||||
| * | Can't have arrays of auto. | Anders Carlsson | 2009-06-26 | 1 | -0/+6 |
| | | | | | llvm-svn: 74314 | ||||
| * | An auto variable can't appear in its own initializer. | Anders Carlsson | 2009-06-26 | 2 | -0/+7 |
| | | | | | llvm-svn: 74312 | ||||
| * | Implement enough of the 'auto' keyword so we can claim to support N2546. | Anders Carlsson | 2009-06-26 | 6 | -1/+20 |
| | | | | | llvm-svn: 74307 | ||||
| * | typo | Devang Patel | 2009-06-26 | 1 | -1/+1 |
| | | | | | llvm-svn: 74305 | ||||
| * | Revrt PR4228 fix for now. | Devang Patel | 2009-06-26 | 2 | -43/+21 |
| | | | | | llvm-svn: 74304 | ||||
| * | Simplify, and fix a possible crash (never happens however, because we don't ever | Daniel Dunbar | 2009-06-26 | 1 | -10/+7 |
| | | | | | | | take this path with non-builtin floating point types). llvm-svn: 74303 | ||||
| * | Improve template argument deduction for reference parameters when | Douglas Gregor | 2009-06-26 | 1 | -4/+42 |
| | | | | | | | | deducing template arguments from a function call. Plus, add a bunch of tests. llvm-svn: 74301 | ||||
| * | OpenCL 1.0 Support: | Nate Begeman | 2009-06-26 | 1 | -3/+19 |
| | | | | | | | Add support for scalar to vector and partially initialized vector constant initializers. llvm-svn: 74299 | ||||
| * | Minor change per Doug's comments. | Fariborz Jahanian | 2009-06-26 | 1 | -2/+4 |
| | | | | | | | - Fariborz llvm-svn: 74287 | ||||
| * | OpenCL 1.0 support: attributes | Nate Begeman | 2009-06-26 | 5 | -2/+69 |
| | | | | | llvm-svn: 74280 | ||||
| * | Add NamedDecl::getUnderlyingDecl that can see through UsingDecl and ↵ | Anders Carlsson | 2009-06-26 | 2 | -29/+25 |
| | | | | | | | ObjCCompatibleAliasDecl. llvm-svn: 74279 | ||||
| * | See through UsingDecls in more places. | Anders Carlsson | 2009-06-26 | 2 | -6/+17 |
| | | | | | llvm-svn: 74269 | ||||
| * | Fix failing test. | Anders Carlsson | 2009-06-26 | 1 | -1/+3 |
| | | | | | llvm-svn: 74268 | ||||
| * | Improve error recovery in C++: when we hit 'implicit int' cases in C++, | Chris Lattner | 2009-06-26 | 2 | -11/+12 |
| | | | | | | | | | | | these are usually because the parser was thoroughly confused. In addition to typing the value being declared as an int and hoping for the best, we mark the value as invalid so we don't get chains of errors when it is used downstream. In C, implicit int actually is valid, so typing the thing as int is good and marking it invalid is bad. :) llvm-svn: 74266 | ||||
| * | fix PR4452, a crash on invalid. The error recovery is still terrible in ↵ | Chris Lattner | 2009-06-26 | 3 | -12/+38 |
| | | | | | | | | | this case but at least we don't crash :) llvm-svn: 74264 | ||||
| * | Fix another assert related to using decls. | Anders Carlsson | 2009-06-26 | 1 | -0/+3 |
| | | | | | llvm-svn: 74262 | ||||
| * | rearrange more code, this avoids a token lookahead for foo< | Chris Lattner | 2009-06-26 | 1 | -44/+51 |
| | | | | | llvm-svn: 74261 | ||||
| * | move some code around, no functionality change. | Chris Lattner | 2009-06-26 | 1 | -32/+32 |
| | | | | | llvm-svn: 74260 | ||||
| * | simplify some code. | Chris Lattner | 2009-06-26 | 1 | -34/+35 |
| | | | | | llvm-svn: 74259 | ||||
| * | When creating LookupResults, see through UsingDecls. Fixes PR4450. | Anders Carlsson | 2009-06-26 | 1 | -2/+6 |
| | | | | | llvm-svn: 74258 | ||||
| * | Fix PR4448. | Anders Carlsson | 2009-06-26 | 3 | -2/+13 |
| | | | | | llvm-svn: 74257 | ||||
| * | OpenCL 1.0 support: explicit casts to ext-vector types | Nate Begeman | 2009-06-26 | 2 | -2/+41 |
| | | | | | llvm-svn: 74247 | ||||

