| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Correctly refer to element CVR qualifications when determining if a type is | Chandler Carruth | 2009-12-29 | 1 | -0/+11 | |
| | | | | | | | | | | | more or less cv-qualified than another during implicit conversion and overload resolution ([basic.type.qualifier] p5). Factors the logic out of template deduction and into the ASTContext so it can be shared. This fixes several aspects of PR5542, but not all of them. llvm-svn: 92248 | |||||
| * | Handle using declarations in overloaded and template functions during ADL and | Chandler Carruth | 2009-12-29 | 1 | -0/+18 | |
| | | | | | | | | | | | address resolution. This fixes PR5751. Also, while we're here, remove logic from ADL which mistakenly included the definition namespaces of overloaded and/or templated functions whose name or address is used as an argument. llvm-svn: 92245 | |||||
| * | Fix for PR5871. Make __PRETTY_FUNCTION__ work for member functions defined ↵ | Sam Weinig | 2009-12-28 | 1 | -0/+18 | |
| | | | | | | | in a class local to a function. llvm-svn: 92200 | |||||
| * | Make sure to give an error for template argument lists followed by junk. | Eli Friedman | 2009-12-27 | 1 | -0/+9 | |
| | | | | | llvm-svn: 92177 | |||||
| * | Fix runline. | Eli Friedman | 2009-12-27 | 1 | -1/+1 | |
| | | | | | llvm-svn: 92174 | |||||
| * | Fix PointerExprEvaluator::VisitCastExpr so it doesn't misfold C++ casts which | Eli Friedman | 2009-12-27 | 1 | -0/+11 | |
| | | | | | | | it doesn't know how to fold, like derived-to-base casts. llvm-svn: 92173 | |||||
| * | Fix for PR5872. Add static specifier and const/volatile qualifiers to member ↵ | Sam Weinig | 2009-12-27 | 1 | -5/+35 | |
| | | | | | | | functions in __PRETTY_FUNCTION__ predefined expressions. llvm-svn: 92171 | |||||
| * | Don't look through casts when looking for the underlying decl for a function | Eli Friedman | 2009-12-26 | 1 | -0/+6 | |
| | | | | | | | | call; the standard doesn't expect us to, and the program could be doing something crazy. Fixes PR5882. llvm-svn: 92166 | |||||
| * | Make copy constructor elimination work in more cases; the case in question | Eli Friedman | 2009-12-24 | 1 | -0/+7 | |
| | | | | | | | here affects clang-on-clang. llvm-svn: 92151 | |||||
| * | Fix for PR5844. Be explicit about anonymous struct/class/union/namespaces in ↵ | Sam Weinig | 2009-12-24 | 1 | -5/+80 | |
| | | | | | | | __PRETTY_FUNCTION__ predefined expression. llvm-svn: 92149 | |||||
| * | Fill in the return value slot in CGExprAgg::VisitCallExpr. This takes us ↵ | Anders Carlsson | 2009-12-24 | 1 | -0/+0 | |
| | | | | | | | halfway towards fixing PR5824. llvm-svn: 92142 | |||||
| * | Add test case for PR5868, and improve location information slightly for ↵ | Douglas Gregor | 2009-12-24 | 1 | -0/+19 | |
| | | | | | | | implicit "this" expressions llvm-svn: 92141 | |||||
| * | Add a test for x86-64 struct returns under gc. | Anders Carlsson | 2009-12-24 | 1 | -0/+31 | |
| | | | | | llvm-svn: 92140 | |||||
| * | When transforming CXXExprWithTemporaries and CXXBindTemporaryExpr | Douglas Gregor | 2009-12-24 | 1 | -0/+14 | |
| | | | | | | | | | | expressions (e.g., for template instantiation), just transform the subexpressions and return those, since the temporary-related nodes will be implicitly regenerated. Fixes PR5867, but I said that before... llvm-svn: 92135 | |||||
| * | InitializationSequence handles binding to temporaries, so that | Douglas Gregor | 2009-12-24 | 1 | -0/+19 | |
| | | | | | | | | | argument-passing doesn't have to. Fixes PR5867, where we were binding a temporary twice in the AST and, therefore, calling its destructor twice. llvm-svn: 92131 | |||||
| * | Tweak the text of several main() diagnostics and punch a hole specifically for | John McCall | 2009-12-24 | 1 | -1/+1 | |
| | | | | | | | | | | | Darwin's sekrit fourth argument. This should probably be factored to let targets make target-specific decisions about what main() should look like. Fixes rdar://problem/7414990 or if different platforms have radically different ideas of what they want in llvm-svn: 92128 | |||||
| * | Diagnose out-of-bounds floating-point constants. Fixes rdar://problem/6974641 | John McCall | 2009-12-24 | 1 | -0/+22 | |
| | | | | | llvm-svn: 92127 | |||||
| * | Add analyzer test case for 'ForStmt' with condition variable. | Ted Kremenek | 2009-12-24 | 1 | -0/+14 | |
| | | | | | llvm-svn: 92120 | |||||
| * | CFG tweak: in a WhileStmt, the condition variable initializer is evaluated ↵ | Ted Kremenek | 2009-12-24 | 1 | -9/+10 | |
| | | | | | | | every time the condition is checked. llvm-svn: 92111 | |||||
| * | Teach GRExprEngine to handle the initialization of the condition variable of ↵ | Ted Kremenek | 2009-12-24 | 1 | -0/+15 | |
| | | | | | | | a WhileStmt. llvm-svn: 92106 | |||||
| * | Add test case for PR 4358. | Ted Kremenek | 2009-12-24 | 1 | -0/+22 | |
| | | | | | llvm-svn: 92103 | |||||
| * | Teach GRExprEngine to handle the initialization of the condition variable of ↵ | Ted Kremenek | 2009-12-24 | 1 | -0/+18 | |
| | | | | | | | a SwitchStmt. llvm-svn: 92102 | |||||
| * | support the warn_unused_result in C++ class methods | Nuno Lopes | 2009-12-24 | 1 | -0/+11 | |
| | | | | | llvm-svn: 92095 | |||||
| * | allow the noreturn attribute to be used in class methods | Nuno Lopes | 2009-12-23 | 1 | -0/+9 | |
| | | | | | llvm-svn: 92090 | |||||
| * | When we see a CXXDefaultArgExpr during template instantiation, rebuild | Douglas Gregor | 2009-12-23 | 1 | -3/+14 | |
| | | | | | | | | | the default argument so that we're sure to mark any referenced declarations. This gets us another little step closer to fixing PR5810. llvm-svn: 92078 | |||||
| * | Mangle block pointer types. Fixes PR5858. | Anders Carlsson | 2009-12-23 | 1 | -1/+4 | |
| | | | | | llvm-svn: 92069 | |||||
| * | fix typo | Chris Lattner | 2009-12-23 | 1 | -1/+1 | |
| | | | | | llvm-svn: 92065 | |||||
| * | There is no such thing as typeinfo for a cv-qualified type. Assert | Douglas Gregor | 2009-12-23 | 1 | -0/+13 | |
| | | | | | | | | | that this is true when mangling, then fix up the various places in Sema and/or CodeGen that need to remove qualifiers. Addresses a linking issue when building LLVM with Clang. llvm-svn: 92064 | |||||
| * | fix opencl extvector element extraction on rvalues. We previously | Chris Lattner | 2009-12-23 | 1 | -0/+13 | |
| | | | | | | | error_unsupported on test10 and crashed on test11. llvm-svn: 92056 | |||||
| * | Diagnose the use of incomplete types in C++ typeid expressions | Douglas Gregor | 2009-12-23 | 2 | -4/+11 | |
| | | | | | llvm-svn: 92045 | |||||
| * | Rename test file. | Ted Kremenek | 2009-12-23 | 1 | -0/+0 | |
| | | | | | llvm-svn: 92044 | |||||
| * | Change test case to use 'clang -cc1' (without --disable-free) instead of ↵ | Ted Kremenek | 2009-12-23 | 1 | -5/+6 | |
| | | | | | | | c-index-test (whose memory management behavior may change in the future). llvm-svn: 92043 | |||||
| * | Remove cv-qualifiers from the argument to typeid | Douglas Gregor | 2009-12-23 | 1 | -4/+7 | |
| | | | | | llvm-svn: 92041 | |||||
| * | Mangle template template parameters. Fixes PR5861. | Anders Carlsson | 2009-12-23 | 1 | -0/+16 | |
| | | | | | llvm-svn: 92030 | |||||
| * | fix the microsoft "charify" extension to return the charified token | Chris Lattner | 2009-12-23 | 1 | -0/+6 | |
| | | | | | | | | as a character literal, not a string literal. This might fix rdar://7486575 llvm-svn: 92025 | |||||
| * | Fix the overflow calculation in Sema::CheckTemplateArgument to be a bit more | Eli Friedman | 2009-12-23 | 1 | -1/+11 | |
| | | | | | | | accurate. llvm-svn: 92018 | |||||
| * | When using a default function argument for a function template (or | Douglas Gregor | 2009-12-23 | 1 | -1/+23 | |
| | | | | | | | | | | | | | | | | | | member function thereof), perform the template instantiation each time the default argument is needed. This ensures that (1) We get different CXXTemporary objects for each instantiation, and (2) Any other instantiations or definitions triggered by the instantiation of the default argument expression are guaranteed to happen; previously, they might have been suppressed, e.g., because they happened in an unevaluated context. This fixes the majority of PR5810. However, it does not address the problem where we may have multiple uses of the same CXXTemporary within an expression when the temporary came from a non-instantiated default argument expression. llvm-svn: 92015 | |||||
| * | Remove RewriteBlocks. It has been superseded by RewriteObjC | Kovarththanan Rajaratnam | 2009-12-23 | 1 | -38/+0 | |
| | | | | | llvm-svn: 92014 | |||||
| * | Add 'DeclStmt::DoDestroy()' which doesn't actually recurse over its child ↵ | Ted Kremenek | 2009-12-23 | 1 | -0/+13 | |
| | | | | | | | expressions (via StmtIterator), as those expressions are owned by the Decls and Types (which are destroyed elsewhere). This fixes a crasher reported in <rdar://problem/7487294>. llvm-svn: 91990 | |||||
| * | Add CFG support for the condition variable that can appear in IfStmts in C++ ↵ | Ted Kremenek | 2009-12-23 | 1 | -0/+7 | |
| | | | | | | | | | mode. Add transfer function support in GRExprEngine for IfStmts with initialized condition variables. llvm-svn: 91987 | |||||
| * | Suppress dead store warnings involving objects initialized with ↵ | Ted Kremenek | 2009-12-23 | 1 | -0/+26 | |
| | | | | | | | CXXExprTemporaries. llvm-svn: 91986 | |||||
| * | Update for the intrinsic changes in llvm: the object size intrinsic | Eric Christopher | 2009-12-23 | 1 | -1/+1 | |
| | | | | | | | | only takes a boolean second argument now. Update tests accordingly. Currently the builtin still accepts the full range for compatibility. llvm-svn: 91983 | |||||
| * | Fix PR 5857. When casting from a symbolic region to an integer back to a ↵ | Ted Kremenek | 2009-12-23 | 1 | -1/+27 | |
| | | | | | | | pointer value, we were not correctly layering the correct ElementRegion on the original SymbolicRegion. llvm-svn: 91981 | |||||
| * | Also treat the type of the subexpression as a pointer in ↵ | Ted Kremenek | 2009-12-23 | 1 | -0/+11 | |
| | | | | | | | GRExprEngine::VisitCast when the expression is handled as an lvalue. llvm-svn: 91969 | |||||
| * | 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 | 1 | -0/+10 | |
| | | | | | llvm-svn: 91962 | |||||
| * | 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 | 1 | -0/+11 | |
| | | | | | | | | | Prevents an assert on successive redeclarations. Fixed PR5573. llvm-svn: 91956 | |||||
| * | Add basic support for analyzing CastExprs as lvalues. | Ted Kremenek | 2009-12-23 | 1 | -0/+11 | |
| | | | | | llvm-svn: 91952 | |||||
| * | Objective-C methods can be variadic, too. Who knew. | Douglas Gregor | 2009-12-23 | 1 | -0/+10 | |
| | | | | | llvm-svn: 91951 | |||||

