| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Update for the intrinsic changes in llvm: the object size intrinsic | Eric Christopher | 2009-12-23 | 4 | -3/+14 | |
| | | | | | | | | only takes a boolean second argument now. Update tests accordingly. Currently the builtin still accepts the full range for compatibility. llvm-svn: 91983 | |||||
| * | Teach GRExprEngine::VisitLValue to ignore CXXExprWithTempories (for now). | Ted Kremenek | 2009-12-23 | 1 | -0/+1 | |
| | | | | | llvm-svn: 91982 | |||||
| * | Fix PR 5857. When casting from a symbolic region to an integer back to a ↵ | Ted Kremenek | 2009-12-23 | 2 | -9/+36 | |
| | | | | | | | pointer value, we were not correctly layering the correct ElementRegion on the original SymbolicRegion. llvm-svn: 91981 | |||||
| * | Remove CharUnits::toString() to eliminate dependence on <string>. | Ken Dyck | 2009-12-23 | 3 | -26/+0 | |
| | | | | | llvm-svn: 91978 | |||||
| * | Patch to do more rewrite of __block variables. | Fariborz Jahanian | 2009-12-23 | 1 | -11/+87 | |
| | | | | | | | Still WIP. llvm-svn: 91977 | |||||
| * | Eliminate a completely unnecessary buffer copy when parsing float literals. | John McCall | 2009-12-23 | 1 | -6/+1 | |
| | | | | | llvm-svn: 91974 | |||||
| * | Teach GRExprEngine::VisitLValue that we don't handle CXXZeroInitValueExprs yet. | Ted Kremenek | 2009-12-23 | 1 | -1/+2 | |
| | | | | | llvm-svn: 91970 | |||||
| * | Also treat the type of the subexpression as a pointer in ↵ | Ted Kremenek | 2009-12-23 | 2 | -0/+12 | |
| | | | | | | | GRExprEngine::VisitCast when the expression is handled as an lvalue. llvm-svn: 91969 | |||||
| * | Add assertion to check for valid source ranges. | Ted Kremenek | 2009-12-23 | 1 | -1/+4 | |
| | | | | | llvm-svn: 91966 | |||||
| * | Test case for PR5134. | John McCall | 2009-12-23 | 1 | -0/+7 | |
| | | | | | llvm-svn: 91965 | |||||
| * | Driver: Fix '... -O4 -O0 ...', which was generating bitcode. | Daniel Dunbar | 2009-12-23 | 2 | -2/+15 | |
| | | | | | llvm-svn: 91962 | |||||
| * | Driver: Drop ToolChain::getHost() | Daniel Dunbar | 2009-12-23 | 2 | -2/+1 | |
| | | | | | llvm-svn: 91960 | |||||
| * | Test case from PR5476. | John McCall | 2009-12-23 | 1 | -0/+11 | |
| | | | | | llvm-svn: 91957 | |||||
| * | Set a member's access specifier even if it doesn't match the previous specifier. | John McCall | 2009-12-23 | 2 | -0/+13 | |
| | | | | | | | | | Prevents an assert on successive redeclarations. Fixed PR5573. llvm-svn: 91956 | |||||
| * | Add basic support for analyzing CastExprs as lvalues. | Ted Kremenek | 2009-12-23 | 3 | -4/+39 | |
| | | | | | llvm-svn: 91952 | |||||
| * | Objective-C methods can be variadic, too. Who knew. | Douglas Gregor | 2009-12-23 | 2 | -0/+17 | |
| | | | | | llvm-svn: 91951 | |||||
| * | Switch Sema::CreateOverloadedUnaryOp over to InitializationSequence. | Douglas Gregor | 2009-12-23 | 1 | -3/+8 | |
| | | | | | llvm-svn: 91948 | |||||
| * | warn when attribute warn_unused_result is applied to void functions. | Nuno Lopes | 2009-12-22 | 3 | -3/+12 | |
| | | | | | | | while at it, remove an outdated FIXME llvm-svn: 91946 | |||||
| * | Allow the first parameter of operator new to be a cv-qualified | Douglas Gregor | 2009-12-22 | 4 | -5/+6 | |
| | | | | | | | | | size_t. Also, fix an issue with initialization of parameters in calls, where we weren't removing the cv-qualifiers on the parameter type itself. Fixes PR5823. llvm-svn: 91941 | |||||
| * | Driver: When linking, don't warn about unused arguments which are obviously only | Daniel Dunbar | 2009-12-22 | 2 | -11/+20 | |
| | | | | | | | | | used during compilation. - There is no easy way to define this group properly, unfortunately, and maybe this is a losing strategy. For now this is unambiguous more friendly, though. llvm-svn: 91940 | |||||
| * | implement -W[no-]fatal-errors, patch by Christian Adåker! | Chris Lattner | 2009-12-22 | 3 | -3/+48 | |
| | | | | | llvm-svn: 91938 | |||||
| * | Add c++-analyzer symlink (which is used by scan-build) | Ted Kremenek | 2009-12-22 | 1 | -0/+1 | |
| | | | | | llvm-svn: 91937 | |||||
| * | Make sure that reinterpret_cast gets a CastKind on all successful | Douglas Gregor | 2009-12-22 | 2 | -1/+11 | |
| | | | | | | | | paths. Fixes "cannot compile this unexpected cast lvalue yet" error in llvm/lib/Analysis/IPA/GlobalsModRef.cpp. llvm-svn: 91932 | |||||
| * | Revert accidental commit | Douglas Gregor | 2009-12-22 | 2 | -2/+0 | |
| | | | | | llvm-svn: 91930 | |||||
| * | accept -Wcomments as an alias for -Wcomment, PR5855 | Chris Lattner | 2009-12-22 | 1 | -2/+3 | |
| | | | | | llvm-svn: 91929 | |||||
| * | Add using shadow decls to the "instantiated locals" map, fixing PR5847. | John McCall | 2009-12-22 | 2 | -0/+19 | |
| | | | | | llvm-svn: 91928 | |||||
| * | Switch Sema::AddCXXDirectInitializerToDecl over to InitializationSequence | Douglas Gregor | 2009-12-22 | 9 | -44/+50 | |
| | | | | | llvm-svn: 91927 | |||||
| * | Add transfer functions support for visiting an Objective-C message ↵ | Ted Kremenek | 2009-12-22 | 5 | -47/+117 | |
| | | | | | | | expression as an lvalue when the return type is a C++ reference. llvm-svn: 91926 | |||||
| * | ARM: Remove a FIXME, it's not actually more complicated than that. | Daniel Dunbar | 2009-12-22 | 1 | -1/+0 | |
| | | | | | llvm-svn: 91924 | |||||
| * | Switch parameter passing for overloaded binary operators to | Douglas Gregor | 2009-12-22 | 1 | -7/+31 | |
| | | | | | | | | InitializationSequence. Fixes the -fsyntax-only failure in llvm/lib/Transforms/Scalar/InstructionCombining.cpp. llvm-svn: 91921 | |||||
| * | Serialize the NoReturn bit on FunctionTypes for precompiled headers | Douglas Gregor | 2009-12-22 | 4 | -4/+13 | |
| | | | | | llvm-svn: 91911 | |||||
| * | Enter the scope of an initializer for direct-initialization as well as | Douglas Gregor | 2009-12-22 | 2 | -0/+18 | |
| | | | | | | | for copy-initialization. llvm-svn: 91909 | |||||
| * | When transforming a C++ "new" expression that was not explicitly given | Douglas Gregor | 2009-12-22 | 2 | -0/+39 | |
| | | | | | | | | a size, check whether the transformed type is itself an array type. If so, take the major array bound as the size to allocate. Fixes PR5833. llvm-svn: 91907 | |||||
| * | Switch parameter-passing for calls via function pointers (where we | Douglas Gregor | 2009-12-22 | 3 | -18/+30 | |
| | | | | | | | don't have a FunctionDecl) over to InitializationSequence. llvm-svn: 91906 | |||||
| * | Switch InitializedEntity from TypeLoc down to just QualTypes, since we don't ↵ | Douglas Gregor | 2009-12-22 | 5 | -150/+60 | |
| | | | | | | | use the location information but we did spend a bunch of time building faked-up TypeLocs llvm-svn: 91905 | |||||
| * | Move the implementation of ASTContext::getTypeSizeInChars() to the .cpp file to | Ken Dyck | 2009-12-22 | 3 | -7/+14 | |
| | | | | | | | avoid #including CharUnits.h in ASTContext.h. llvm-svn: 91903 | |||||
| * | Switch initialization of parameters in a call over to | Douglas Gregor | 2009-12-22 | 7 | -17/+43 | |
| | | | | | | | | | | | | InitializationSequence (when a FunctionDecl is present). This required a few small fixes to initialization sequences: - Make sure to use the adjusted parameter type for initialization of function parameters. - Implement transparent union calling semantics in C llvm-svn: 91902 | |||||
| * | Make sure that we mangle overloaded operators that are member functions ↵ | Anders Carlsson | 2009-12-22 | 3 | -10/+43 | |
| | | | | | | | | | correctly, giving them the correct arity. With this seemingly insignificant fix, we are now able to build and link clang using clang itself! (LLVM still has to be built with gcc for the time being). llvm-svn: 91893 | |||||
| * | Work around PR5514. | Anders Carlsson | 2009-12-22 | 1 | -1/+2 | |
| | | | | | llvm-svn: 91891 | |||||
| * | fix a bug handling the gnu ?: extension. Patch by Storlek on IRC, | Chris Lattner | 2009-12-22 | 2 | -1/+2 | |
| | | | | | | | who prefers to be stealthy and mysterious. llvm-svn: 91888 | |||||
| * | When we simply return a retained member expression when instantiating, we ↵ | Anders Carlsson | 2009-12-22 | 2 | -1/+33 | |
| | | | | | | | must also mark the member decl as referenced. llvm-svn: 91887 | |||||
| * | Zap CheckInitializerTypes. | Eli Friedman | 2009-12-22 | 2 | -116/+0 | |
| | | | | | llvm-svn: 91884 | |||||
| * | Switch default arguments over to InitializationSequence. | Eli Friedman | 2009-12-22 | 4 | -4/+8 | |
| | | | | | llvm-svn: 91883 | |||||
| * | Switch compound literals over to InitializationSequence. | Eli Friedman | 2009-12-22 | 2 | -3/+10 | |
| | | | | | llvm-svn: 91882 | |||||
| * | Switch file-scope assignment initialization over to InitializationSequence. | Eli Friedman | 2009-12-22 | 8 | -23/+30 | |
| | | | | | llvm-svn: 91881 | |||||
| * | x86_64: Structures with no fields but which have padding should be classified as | Daniel Dunbar | 2009-12-22 | 3 | -2/+9 | |
| | | | | | | | | | integer. - This is consistent, but may not be correct. I will revisit x86_64 ABI handling for C++ as a whole at some point. - PR5831. llvm-svn: 91874 | |||||
| * | Centralize the emission/suppression/delay of diagnostics describing runtime ↵ | Douglas Gregor | 2009-12-22 | 2 | -60/+53 | |
| | | | | | | | before in the new function Sema::DiagRuntimeBehavior, addressing one of Chris' comments. llvm-svn: 91870 | |||||
| * | Stop diagnosing the use of inner classes as friends. ddunbar asked whether | John McCall | 2009-12-22 | 2 | -9/+4 | |
| | | | | | | | | | | this was useful, and on review Doug and I decided it was probably on the level of a bug in the standard and therefore not worth a warning even in -pedantic. If someone disagrees and urgently wants clang++ to warn about this in strict c++98 mode, we can talk about it. llvm-svn: 91868 | |||||
| * | Template code for rewrite of __block variables - wip. | Fariborz Jahanian | 2009-12-22 | 1 | -0/+7 | |
| | | | | | llvm-svn: 91865 | |||||
| * | Eliminate the ASTContext argument to CXXConstructorDecl::isCopyConstructor, ↵ | Douglas Gregor | 2009-12-22 | 9 | -17/+17 | |
| | | | | | | | since the context is available in the Decl llvm-svn: 91862 | |||||

