| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | More fixes to the handling of CVR-comparisons on array types. Adds a method to | Chandler Carruth | 2009-12-30 | 3 | -9/+34 |
| | | | | | | | | | | | | | QualType to get CVR-qualifiers through array types, and switches the primary comparison methods to use it. This may allow simplifying some of the callers of getUnqualifiedArrayType. Also fix the normalizing of CV-qualification during template deduction to normalize through arrays and allow a more qualified deduced array type. This fixes PR5911. llvm-svn: 92289 | ||||
| * | Add base class checks. | Anders Carlsson | 2009-12-30 | 1 | -0/+11 |
| | | | | | llvm-svn: 92286 | ||||
| * | Add more vtable tests. | Anders Carlsson | 2009-12-30 | 1 | -1/+38 |
| | | | | | llvm-svn: 92285 | ||||
| * | More RTTI cleanup, test that RTTI classes have the correct vtables. | Anders Carlsson | 2009-12-30 | 3 | -54/+80 |
| | | | | | llvm-svn: 92284 | ||||
| * | Typedefs can be redeclared. That seems like something we should record in | John McCall | 2009-12-30 | 5 | -5/+35 |
| | | | | | | | the AST lest we run into some crazy canonicalization bug like PR5874. llvm-svn: 92283 | ||||
| * | Test for PR5908. | Eli Friedman | 2009-12-30 | 1 | -0/+7 |
| | | | | | llvm-svn: 92282 | ||||
| * | Make sure to explicitly pass type/value dependence to Expr constructor. This | Eli Friedman | 2009-12-30 | 4 | -52/+61 |
| | | | | | | | | | caught several cases where we were not doing the right thing. I'm not completely sure all cases are being handled correctly, but this should be an improvement. llvm-svn: 92281 | ||||
| * | Match gcc and treat vector types as fundamental types. | Anders Carlsson | 2009-12-29 | 1 | -9/+23 |
| | | | | | llvm-svn: 92278 | ||||
| * | Handle enum types as well. | Anders Carlsson | 2009-12-29 | 2 | -3/+31 |
| | | | | | llvm-svn: 92276 | ||||
| * | Test linkage of RTTI descriptors of array types. | Anders Carlsson | 2009-12-29 | 1 | -29/+61 |
| | | | | | llvm-svn: 92274 | ||||
| * | Fix function type RTTI linkage and add tests. | Anders Carlsson | 2009-12-29 | 2 | -5/+30 |
| | | | | | llvm-svn: 92266 | ||||
| * | Fix support for const_cast<>s of array types which actual change the | Chandler Carruth | 2009-12-29 | 2 | -3/+5 |
| | | | | | | | | | CV-qualifiers. Remove an error expectation from the 'good' set of const-cast test cases. With this patch, the final non-template test case from PR5542 passes. (It's the same as the one already in const-cast.cpp.) llvm-svn: 92257 | ||||
| * | strength reduce this call away. | Chris Lattner | 2009-12-29 | 1 | -1/+2 |
| | | | | | llvm-svn: 92253 | ||||
| * | fix whitespace in test to match llvm asmprinter change. | Chris Lattner | 2009-12-29 | 1 | -1/+1 |
| | | | | | llvm-svn: 92251 | ||||
| * | Correctly refer to element CVR qualifications when determining if a type is | Chandler Carruth | 2009-12-29 | 6 | -60/+93 |
| | | | | | | | | | | | 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 | ||||
| * | Get rid of FixedWidthIntType, as suggested by Chris and Eli. | Anders Carlsson | 2009-12-29 | 18 | -157/+11 |
| | | | | | llvm-svn: 92246 | ||||
| * | Handle using declarations in overloaded and template functions during ADL and | Chandler Carruth | 2009-12-29 | 3 | -11/+29 |
| | | | | | | | | | | | 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 | ||||
| * | adjust for llvm api changes. | Chris Lattner | 2009-12-28 | 1 | -10/+2 |
| | | | | | llvm-svn: 92236 | ||||
| * | this form of SetDebugLocation is about to go away, add some #includes that | Chris Lattner | 2009-12-28 | 2 | -7/+15 |
| | | | | | | | are about to not come in implicitly. llvm-svn: 92228 | ||||
| * | Adjust indentation. | Zhongxing Xu | 2009-12-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 92205 | ||||
| * | Fix 80-col violation. | Zhongxing Xu | 2009-12-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 92204 | ||||
| * | use best-fit instead of first-fit when reusing a MacroArgs object, | Chris Lattner | 2009-12-28 | 1 | -7/+16 |
| | | | | | | | this speeds up Eonly on the testcase in PR5888 from 30.5s to 0.85s llvm-svn: 92203 | ||||
| * | The PreExpArgTokens array is indexed with an argument #, | Chris Lattner | 2009-12-28 | 3 | -7/+8 |
| | | | | | | | | not a token number. Fix the reserve logic to get the right amount of space. llvm-svn: 92202 | ||||
| * | Fix for PR5871. Make __PRETTY_FUNCTION__ work for member functions defined ↵ | Sam Weinig | 2009-12-28 | 2 | -5/+46 |
| | | | | | | | 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 | 2 | -2/+13 |
| | | | | | llvm-svn: 92177 | ||||
| * | Promote arguments of frameaddr / returnaddr builtins to i32 type, when needed. | Anton Korobeynikov | 2009-12-27 | 1 | -2/+10 |
| | | | | | | | | This is needed for the platforms, where bitwidth of "int" is not 32 bits (e.g. 16 on msp430). llvm-svn: 92176 | ||||
| * | Add a sanity assertion so that we don't silently generate bad code; I'll file | Eli Friedman | 2009-12-27 | 1 | -0/+2 |
| | | | | | | | a bug with a testcase hitting this assertion in a moment. llvm-svn: 92175 | ||||
| * | 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 | 2 | -25/+53 |
| | | | | | | | it doesn't know how to fold, like derived-to-base casts. llvm-svn: 92173 | ||||
| * | Fix obvious mistake. | Eli Friedman | 2009-12-27 | 1 | -1/+1 |
| | | | | | llvm-svn: 92172 | ||||
| * | Fix for PR5872. Add static specifier and const/volatile qualifiers to member ↵ | Sam Weinig | 2009-12-27 | 2 | -5/+45 |
| | | | | | | | functions in __PRETTY_FUNCTION__ predefined expressions. llvm-svn: 92171 | ||||
| * | Tests: Tweak LLVM-Code-Symbols test to ignore common and undefined symbols for | Daniel Dunbar | 2009-12-26 | 1 | -10/+22 |
| | | | | | | | now, let's start small. llvm-svn: 92170 | ||||
| * | Don't look through casts when looking for the underlying decl for a function | Eli Friedman | 2009-12-26 | 2 | -1/+7 |
| | | | | | | | | call; the standard doesn't expect us to, and the program could be doing something crazy. Fixes PR5882. llvm-svn: 92166 | ||||
| * | Attempted fix for PR5884; this code will be dead soon, but this fix should | Eli Friedman | 2009-12-25 | 1 | -3/+2 |
| | | | | | | | help for the moment. llvm-svn: 92165 | ||||
| * | Driver: Use "g++" as generic gcc name when running in C++ mode, for platforms | Daniel Dunbar | 2009-12-25 | 1 | -1/+3 |
| | | | | | | | that lack real tool definitions. llvm-svn: 92164 | ||||
| * | Make sure operator new[] and operator delete[] match. This will hopefully ↵ | Benjamin Kramer | 2009-12-25 | 1 | -1/+2 |
| | | | | | | | silence 3 remaining MSVC warnings. llvm-svn: 92163 | ||||
| * | Remove some dead variables clang-analyzer found. | Benjamin Kramer | 2009-12-25 | 12 | -26/+3 |
| | | | | | llvm-svn: 92162 | ||||
| * | Fix typo spotted by MSVC. | Benjamin Kramer | 2009-12-25 | 1 | -2/+2 |
| | | | | | | | GRExprEngine.cpp(1348) : warning C4305: 'argument' : truncation from 'clang::ProgramPoint::Kind' to 'bool' llvm-svn: 92154 | ||||
| * | Minor optimization; emit proper unsupported messages for a couple of cases. | Eli Friedman | 2009-12-25 | 3 | -6/+16 |
| | | | | | llvm-svn: 92153 | ||||
| * | Some small improvements to dead code elimination; helps a bit on | Eli Friedman | 2009-12-25 | 2 | -1/+10 |
| | | | | | | | LLVM-Code-Symbols test. llvm-svn: 92152 | ||||
| * | Make copy constructor elimination work in more cases; the case in question | Eli Friedman | 2009-12-24 | 3 | -0/+14 |
| | | | | | | | 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 | 2 | -5/+94 |
| | | | | | | | __PRETTY_FUNCTION__ predefined expression. llvm-svn: 92149 | ||||
| * | Move a bunch of class related functions to CGClass.cpp, no functionality change. | Anders Carlsson | 2009-12-24 | 2 | -774/+775 |
| | | | | | llvm-svn: 92148 | ||||
| * | Sketch a simple new C++Tests suite for checking that llvm-gcc and clang generate | Daniel Dunbar | 2009-12-24 | 3 | -0/+99 |
| | | | | | | | the same visible symbols, useful for finding ABI/Mangler/vtable/etc. issues. llvm-svn: 92147 | ||||
| * | Pass the return value slot to all call exprs. | Anders Carlsson | 2009-12-24 | 5 | -20/+29 |
| | | | | | llvm-svn: 92145 | ||||
| * | Egregious, disgusting workaround for PR5866. We need to rework how we | Douglas Gregor | 2009-12-24 | 3 | -3/+17 |
| | | | | | | | | | keep track of friends within templates, which will provide a real for PR5866. For now, this makes sure we don't do something entirely stupid with friends of specializations. llvm-svn: 92143 | ||||
| * | Fill in the return value slot in CGExprAgg::VisitCallExpr. This takes us ↵ | Anders Carlsson | 2009-12-24 | 8 | -20/+51 |
| | | | | | | | halfway towards fixing PR5824. llvm-svn: 92142 | ||||
| * | Add test case for PR5868, and improve location information slightly for ↵ | Douglas Gregor | 2009-12-24 | 3 | -1/+21 |
| | | | | | | | 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 rebuilding a MemberExpr that refers to an anonymous union, be | Douglas Gregor | 2009-12-24 | 1 | -1/+4 |
| | | | | | | | | sure to perform derived-to-base conversions on the base expression. Fixes PR5868. Proper testcase is coming soon. llvm-svn: 92139 | ||||

