| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | refactor asm stmt parsing to avoid nesting as much, and | Chris Lattner | 2009-12-20 | 1 | -39/+38 | |
| | | | | | | | pull ':' eating out of ParseAsmOperandsOpt. llvm-svn: 91801 | |||||
| * | a really old testcase I apparently forgot to 'svn add'. | Chris Lattner | 2009-12-20 | 1 | -0/+33 | |
| | | | | | llvm-svn: 91800 | |||||
| * | Rework the way pointer types are handled by the RTTI builder. We now get the ↵ | Anders Carlsson | 2009-12-20 | 3 | -107/+383 | |
| | | | | | | | right linkage for indirect pointers to incomplete structs. llvm-svn: 91799 | |||||
| * | Make sure we instantiate the destructor for variables initialized by | Eli Friedman | 2009-12-20 | 2 | -0/+20 | |
| | | | | | | | assignment. llvm-svn: 91798 | |||||
| * | Fix review comment; no visible change. | Eli Friedman | 2009-12-20 | 1 | -28/+29 | |
| | | | | | llvm-svn: 91797 | |||||
| * | Switch default-initialization of variables of class type (or array thereof) ↵ | Douglas Gregor | 2009-12-20 | 11 | -39/+30 | |
| | | | | | | | over to InitializationSequence. I could swear that this fixes a PR somewhere, but I couldn't figure out which one llvm-svn: 91796 | |||||
| * | Revert accidental commit | Douglas Gregor | 2009-12-20 | 1 | -11/+20 | |
| | | | | | llvm-svn: 91795 | |||||
| * | Fix CMake build on windows, from Cedric Venet | Douglas Gregor | 2009-12-20 | 2 | -24/+11 | |
| | | | | | llvm-svn: 91794 | |||||
| * | Don't inject the class name until that magical lbrace. | John McCall | 2009-12-20 | 5 | -24/+51 | |
| | | | | | | | | | | | | | | | | | Because of the rules of base-class lookup* and the restrictions on typedefs, it was actually impossible for this to cause any problems more serious than the spurious acceptance of template <class T> class A : B<A> { ... }; instead of template <class T> class A : B<A<T> > { ... }; but I'm sure we can all agree that that is a very important restriction which is well worth making another Parser->Sema call for. (*) n.b. clang++ does not implement these rules correctly; we are not ignoring non-type names llvm-svn: 91792 | |||||
| * | Test the lookup I wasn't sure would be done properly after the last patch. | John McCall | 2009-12-20 | 1 | -5/+25 | |
| | | | | | | | | | | Clang reasonably adds all the base specifiers in one pass; this is now required for correctness to prevent lookup from going mad. But this has the advantage of establishing the correct context when looking up base specifiers, which will be important for access control. llvm-svn: 91791 | |||||
| * | Parse base specifiers within the scope of the class. This is possibly not | John McCall | 2009-12-19 | 3 | -12/+29 | |
| | | | | | | | quite right; I'll come back to it later. It does fix PR 5741. llvm-svn: 91789 | |||||
| * | comments shouldn't go in the AST, and we already make it easy | Chris Lattner | 2009-12-19 | 1 | -1/+1 | |
| | | | | | | | to go from a decl to the doc comments for it. llvm-svn: 91785 | |||||
| * | Remove another ';' after method definition. | Daniel Dunbar | 2009-12-19 | 1 | -1/+1 | |
| | | | | | llvm-svn: 91781 | |||||
| * | Remove ';' after method definition. Noticed by clang++, which one would think | Daniel Dunbar | 2009-12-19 | 16 | -34/+34 | |
| | | | | | | | | would have a higher respect for its own code. This is getting old, is this warning really adding value? llvm-svn: 91779 | |||||
| * | Kill off PreDeclaratorDC. | John McCall | 2009-12-19 | 2 | -6/+2 | |
| | | | | | llvm-svn: 91772 | |||||
| * | Refactor to remove more dependencies on PreDeclaratorDC. I seem to have made | John McCall | 2009-12-19 | 8 | -84/+99 | |
| | | | | | | | | the redeclaration problems in the [temp.explicit]p3 testcase worse, but I can live with that; they'll need to be fixed more holistically anyhow. llvm-svn: 91771 | |||||
| * | Don't use EnterDeclaratorContext when rebuilding a type in the current | John McCall | 2009-12-19 | 1 | -2/+5 | |
| | | | | | | | instantiation, since we're not using a Scope object for that anyway. llvm-svn: 91770 | |||||
| * | Just push a new scope when parsing an out-of-line variable definition. | John McCall | 2009-12-19 | 5 | -37/+69 | |
| | | | | | | | | Magically fixes all the terrible lookup problems associated with not pushing a new scope. Resolves an ancient xfail and an LLVM misparse. llvm-svn: 91769 | |||||
| * | Initialization improvements: addition of string initialization and a few | Eli Friedman | 2009-12-19 | 22 | -67/+88 | |
| | | | | | | | | | small bug fixes in SemaInit, switch over SemaDecl to use it more often, and change a bunch of diagnostics which are different with the new initialization code. llvm-svn: 91767 | |||||
| * | A CXXExprWithTemporaries expression is an lvalue if its subexpression | Douglas Gregor | 2009-12-19 | 2 | -0/+29 | |
| | | | | | | | is an lvalue. Fixes PR5787. llvm-svn: 91765 | |||||
| * | Fix tyop. | Anders Carlsson | 2009-12-19 | 1 | -1/+1 | |
| | | | | | llvm-svn: 91761 | |||||
| * | Some small Builtins.def improvements. | Eli Friedman | 2009-12-19 | 1 | -21/+24 | |
| | | | | | llvm-svn: 91758 | |||||
| * | ARM: Use front-end specific target features "soft-float" and ↵ | Daniel Dunbar | 2009-12-19 | 2 | -5/+55 | |
| | | | | | | | "soft-float-abi" to communicate FP mode to target; __SOFTFP__ is set correctly now. llvm-svn: 91755 | |||||
| * | Targets: Allow CreateTargetInfo to mutate the target features. | Daniel Dunbar | 2009-12-19 | 2 | -10/+15 | |
| | | | | | | | | - In particular, it can claim features for itself instead of always passing them on to LLVM. - This allows using the target features as a generic mechanism for passing target specific options to the TargetInfo instance, which may need them for initializing preprocessor defines, etc. llvm-svn: 91753 | |||||
| * | Use the FunctionDecl's result type to know exactly if it returns a reference. | Zhongxing Xu | 2009-12-19 | 2 | -2/+11 | |
| | | | | | llvm-svn: 91751 | |||||
| * | Switch more of Sema::CheckInitializerTypes over to | Douglas Gregor | 2009-12-19 | 16 | -118/+106 | |
| | | | | | | | | | | | InitializationSequence. Specially, switch initialization of a C++ class type (either copy- or direct-initialization). Also, make sure that we create an elidable copy-construction when performing copy initialization of a C++ class variable. Fixes PR5826. llvm-svn: 91750 | |||||
| * | Correctly initialize the PrimaryBaseInfo if a base is null. Fixes PR5832. | Anders Carlsson | 2009-12-19 | 2 | -1/+9 | |
| | | | | | llvm-svn: 91748 | |||||
| * | Unresolved implicit member accesses are dependent if the object type is ↵ | John McCall | 2009-12-19 | 2 | -0/+15 | |
| | | | | | | | | | | | dependent. Avoids an assertion arising during object-argument initialization in overload resolution. In theory we can resolve this at definition time if the class hierarchy for the member is fully known. llvm-svn: 91747 | |||||
| * | Add f80 entry for windows targets | Anton Korobeynikov | 2009-12-19 | 1 | -2/+2 | |
| | | | | | llvm-svn: 91746 | |||||
| * | Use proper alignment for i16/i32 on msp430. This fixes PR5815. | Anton Korobeynikov | 2009-12-19 | 1 | -1/+1 | |
| | | | | | llvm-svn: 91739 | |||||
| * | eliminate a call to NextToken() when parsing ::foo | Chris Lattner | 2009-12-19 | 1 | -5/+6 | |
| | | | | | llvm-svn: 91738 | |||||
| * | <string> already comes in from CharUnits.h | Chris Lattner | 2009-12-19 | 1 | -4/+0 | |
| | | | | | llvm-svn: 91737 | |||||
| * | Teach TryAnnotateTypeOrScopeToken to deal with already-annotated | John McCall | 2009-12-19 | 4 | -12/+61 | |
| | | | | | | | | scope specifiers. Fix a tentative parsing bug that came up in LLVM. Incidentally fixes some random FIXMEs in an existing testcase. llvm-svn: 91734 | |||||
| * | Fix for PR5524: make reference binding in default argument work correctly. | Eli Friedman | 2009-12-19 | 2 | -1/+10 | |
| | | | | | llvm-svn: 91733 | |||||
| * | Work in progress for setting the vtable pointers for all bases correctly in | Eli Friedman | 2009-12-18 | 3 | -13/+63 | |
| | | | | | | | | the constructor. This doesn't handle cases requiring the VTT at the moment, and generates unnecessary stores, but I think it's essentially correct. llvm-svn: 91731 | |||||
| * | Test for r91724. | Eli Friedman | 2009-12-18 | 1 | -0/+11 | |
| | | | | | llvm-svn: 91730 | |||||
| * | Cleanup switch so it doesn't have a default case. | Eli Friedman | 2009-12-18 | 1 | -1/+7 | |
| | | | | | llvm-svn: 91725 | |||||
| * | Fix for PR5830: fix the computation of the offset to a virtual base. | Eli Friedman | 2009-12-18 | 1 | -3/+36 | |
| | | | | | llvm-svn: 91724 | |||||
| * | Add and tidy doxygen comments and move implementation of toString() to newly | Ken Dyck | 2009-12-18 | 3 | -14/+52 | |
| | | | | | | | created CharUnits.cpp. llvm-svn: 91719 | |||||
| * | C++Tests: Add target paths for LLVM-Code-Compile checks as well. | Daniel Dunbar | 2009-12-18 | 1 | -1/+33 | |
| | | | | | llvm-svn: 91716 | |||||
| * | Fix a few MSVC warnings. | Daniel Dunbar | 2009-12-18 | 2 | -7/+5 | |
| | | | | | llvm-svn: 91714 | |||||
| * | Enhance GRExprEngine::VisitCallExpr() to be used in an lvalue context. ↵ | Ted Kremenek | 2009-12-18 | 3 | -7/+60 | |
| | | | | | | | Uncovered a new failing test case along the way, but we're making progress on handling C++ references in the analyzer. llvm-svn: 91710 | |||||
| * | Use System/DataTypes.h, stdint.h isn't portable. | Daniel Dunbar | 2009-12-18 | 1 | -1/+1 | |
| | | | | | llvm-svn: 91707 | |||||
| * | ARM: Define __thumb2__ for V6T2 targets and only define | Daniel Dunbar | 2009-12-18 | 1 | -5/+4 | |
| | | | | | | | __USING_SJLJ_EXCEPTIONS__ on Darwin. llvm-svn: 91705 | |||||
| * | Extend code-completion results with the type of each result | Douglas Gregor | 2009-12-18 | 15 | -88/+166 | |
| | | | | | llvm-svn: 91702 | |||||
| * | ARM: Fix predefines (__ARM_ARCH_..., __REGISTER_PREFIX). | Daniel Dunbar | 2009-12-18 | 4 | -56/+72 | |
| | | | | | | | | - This should be done leveraging the backend, but I'm a little refactored out. I'll fix it one day, I promise. llvm-svn: 91700 | |||||
| * | When diagnosing that a decl ref expr is not a value, note the declaration | John McCall | 2009-12-18 | 1 | -1/+1 | |
| | | | | | | | with "declared at" rather than "previous declaration is here". llvm-svn: 91699 | |||||
| * | Debian has x86_64-linux-gnu, not x86_64-pc-linux-gnu, so add it. | Torok Edwin | 2009-12-18 | 1 | -0/+3 | |
| | | | | | llvm-svn: 91698 | |||||
| * | Try to de-bork DISABLE_SMART_POINTERS build | Douglas Gregor | 2009-12-18 | 1 | -7/+7 | |
| | | | | | llvm-svn: 91696 | |||||
| * | CK_UserDefinedConversion is a valid kind when doing copy ctor elision. | Anders Carlsson | 2009-12-18 | 1 | -1/+2 | |
| | | | | | llvm-svn: 91695 | |||||

