| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Add MIPS support to Triple for Linux and the PSP. Credit to Bruno Cardoso Lopes. | Edward O'Callaghan | 2009-11-15 | 1 | -0/+163 | |
| | | | | | llvm-svn: 88850 | |||||
| * | Add PSP OS Target to Triple, Credit to Bruno Cardoso Lopes. | Edward O'Callaghan | 2009-11-15 | 2 | -0/+4 | |
| | | | | | llvm-svn: 88849 | |||||
| * | When performing a static downcast as part of a static_cast, make sure | Douglas Gregor | 2009-11-15 | 2 | -13/+34 | |
| | | | | | | | | | | | that we're dealing with canonical types like the documentation say (yay, CanQualType). Alas, this is another instance where using getQualifiers() on a non-canonical QualType got us in trouble. Good news: with this fix, Clang can now parse all of its own headers! llvm-svn: 88848 | |||||
| * | Don't gratuitously mark the default constructors of base or member ↵ | Douglas Gregor | 2009-11-15 | 2 | -22/+19 | |
| | | | | | | | initializers as used llvm-svn: 88847 | |||||
| * | When adding the underlying declaration of a decl to a lookup-results | Douglas Gregor | 2009-11-15 | 2 | -1/+35 | |
| | | | | | | | | | | set, expand overloaded function declarations. Long-term, this should actually be done by the name-lookup code rather than here, but this part of the code (involving using declarations) is getting a makeover now and the test-case is useful. llvm-svn: 88846 | |||||
| * | Add two new C++ lit tests suites, for testing Clang .cpp files with | Daniel Dunbar | 2009-11-15 | 3 | -4/+62 | |
| | | | | | | | -fsyntax-only and with -c. llvm-svn: 88845 | |||||
| * | lit: Factor a new OneCommandPerFileTest out of SyntaxCheckTest. | Daniel Dunbar | 2009-11-15 | 2 | -12/+42 | |
| | | | | | | | | - Used for running a single fixed command on a directory of files, with the option of deriving a temporary input file from the test source. llvm-svn: 88844 | |||||
| * | Implement typeid for class types. | Mike Stump | 2009-11-15 | 5 | -1/+76 | |
| | | | | | llvm-svn: 88843 | |||||
| * | When looking for operator() to type-check a call to an object of class | Douglas Gregor | 2009-11-15 | 2 | -8/+17 | |
| | | | | | | | | | | type, use full qualified name lookup rather than the poking the declaration context directly. This makes sure that we see operator()'s in superclasses. Also, move the complete-type check before this name lookup. llvm-svn: 88842 | |||||
| * | Revert r88830 and r88831 which appear to have caused a selfhost buildbot some | Nick Lewycky | 2009-11-15 | 2 | -28/+1 | |
| | | | | | | | grief. I suspect this patch merely exposed a bug else. llvm-svn: 88841 | |||||
| * | Make a couple more headers standalone | Douglas Gregor | 2009-11-15 | 4 | -1/+9 | |
| | | | | | llvm-svn: 88840 | |||||
| * | Add Clang-Syntax C++Tests; these don't run by default, use the lit arguments | Daniel Dunbar | 2009-11-15 | 2 | -0/+28 | |
| | | | | | | | '--param run_clang_syntax=1' to run them. llvm-svn: 88839 | |||||
| * | Remove duplicate implementation of excludes functionality, and support excluding | Daniel Dunbar | 2009-11-15 | 1 | -14/+6 | |
| | | | | | | | | | dirnames. Also, add support for the 'unsupported' config property. llvm-svn: 88838 | |||||
| * | Remove an obviously-broken header, which still tries to refer to ScopedDecl. | Douglas Gregor | 2009-11-15 | 1 | -63/+0 | |
| | | | | | llvm-svn: 88837 | |||||
| * | Use the other excludes syntax. | Daniel Dunbar | 2009-11-15 | 1 | -4/+2 | |
| | | | | | llvm-svn: 88836 | |||||
| * | Make some more headers standalone | Douglas Gregor | 2009-11-15 | 3 | -0/+3 | |
| | | | | | llvm-svn: 88835 | |||||
| * | If any errors have occurred by the time we hit the end of a function body, ↵ | Douglas Gregor | 2009-11-15 | 1 | -0/+6 | |
| | | | | | | | clear out any remaining temporaries so they aren't seen later. llvm-svn: 88834 | |||||
| * | Add TargetOptions and use it when constructing targets. | Daniel Dunbar | 2009-11-15 | 16 | -127/+203 | |
| | | | | | | | | | - This ended up being hard to factor, sorry for the large diff. - Some post-commit cleanup to come. llvm-svn: 88833 | |||||
| * | Make a few headers parse standalone | Douglas Gregor | 2009-11-15 | 4 | -1/+4 | |
| | | | | | llvm-svn: 88832 | |||||
| * | Correct typo. | Nick Lewycky | 2009-11-15 | 1 | -1/+1 | |
| | | | | | llvm-svn: 88831 | |||||
| * | Teach instcombine to look for booleans in wider integers when it encounters a | Nick Lewycky | 2009-11-15 | 2 | -0/+56 | |
| | | | | | | | | zext(icmp). It may be able to optimize that away. This fixes one of the cases in PR5438. llvm-svn: 88830 | |||||
| * | Added an assert to the PBQP allocator to catch infinite cost solutions which ↵ | Lang Hames | 2009-11-15 | 1 | -0/+5 | |
| | | | | | | | might otherwise lead to miscompilations. llvm-svn: 88829 | |||||
| * | Finish off support for typeinfo generation for classes. | Mike Stump | 2009-11-15 | 2 | -9/+145 | |
| | | | | | llvm-svn: 88828 | |||||
| * | lit: Add --repeat=N option, for running each test N times. | Daniel Dunbar | 2009-11-15 | 4 | -4/+32 | |
| | | | | | | | - Currently just useful for timing, although it could be extended as one (bad) way to deal with flaky tests. llvm-svn: 88827 | |||||
| * | Add a trivial example plugin, which prints the names of the top-level decls. | Daniel Dunbar | 2009-11-15 | 4 | -1/+89 | |
| | | | | | | | - The build scriptage is about twice as long as the code, which is nice. :) llvm-svn: 88826 | |||||
| * | Add examples dir, built with BUILD_EXAMPLES=1 (Makefiles, no CMake ↵ | Daniel Dunbar | 2009-11-15 | 5 | -2/+21 | |
| | | | | | | | | | equivalent yet). Move tools/wpa to examples/wpa, and unbreak its build. llvm-svn: 88825 | |||||
| * | Add pluggable action support to clang-cc, via -plugin command line option. | Daniel Dunbar | 2009-11-15 | 5 | -7/+79 | |
| | | | | | | | | | - Expects the plugin has been loaded with -load. - Using this may require disabling TOOL_NO_EXPORTS in the clang-cc Makefile, this breaks the llvm::Registry way of working (static constructors are bad, kids). This should be replaced with a "real" plugin model that has explicit plugin interfaces. llvm-svn: 88824 | |||||
| * | Finisgh off rest of class_type_info rtti generation. | Mike Stump | 2009-11-14 | 3 | -14/+120 | |
| | | | | | llvm-svn: 88823 | |||||
| * | When dumping implicit cast exprs, print out whether the cast is an lvalue ↵ | Anders Carlsson | 2009-11-14 | 1 | -0/+7 | |
| | | | | | | | cast or not. llvm-svn: 88821 | |||||
| * | Move the program action enum to FrontendOptions. | Daniel Dunbar | 2009-11-14 | 3 | -98/+106 | |
| | | | | | | | | | | -- ddunbar@giles:clang-cc (master)$ grep llvm::cl::opt clang-cc.cpp # Woot ddunbar@giles:clang-cc (master)$ -- llvm-svn: 88820 | |||||
| * | Add clang -mcpu=native support, patch by Roman Divacky, varioustweaks by me. | Daniel Dunbar | 2009-11-14 | 2 | -12/+27 | |
| | | | | | | | | - We still need support for detecting the target features, since the name doesn't actually do a good job of decribing what the CPU supports (for LLVM). llvm-svn: 88819 | |||||
| * | Remove bogus corei7 and atom entries, the family was incorrect. | Daniel Dunbar | 2009-11-14 | 1 | -4/+0 | |
| | | | | | llvm-svn: 88818 | |||||
| * | remove xfail | Jim Grosbach | 2009-11-14 | 1 | -2/+0 | |
| | | | | | llvm-svn: 88817 | |||||
| * | Add an internal CreateRecordDecl that will create a CXXRecordDecl when ↵ | Anders Carlsson | 2009-11-14 | 2 | -12/+29 | |
| | | | | | | | compiling C++ and a RecordDecl otherwise. llvm-svn: 88816 | |||||
| * | Fill out X86 table, although we are missing lots of names for things. We now | Daniel Dunbar | 2009-11-14 | 1 | -49/+131 | |
| | | | | | | | properly detect my Xeon box though. llvm-svn: 88814 | |||||
| * | Report the detected host CPU in --version. | Daniel Dunbar | 2009-11-14 | 1 | -0/+3 | |
| | | | | | llvm-svn: 88813 | |||||
| * | cleanup. | Jim Grosbach | 2009-11-14 | 1 | -3/+1 | |
| | | | | | llvm-svn: 88812 | |||||
| * | Always build a builtin operator expression for the __extension__ unary operator. | Anders Carlsson | 2009-11-14 | 2 | -1/+5 | |
| | | | | | llvm-svn: 88811 | |||||
| * | Handle CK_BitCast in EmitCastLValue. | Anders Carlsson | 2009-11-14 | 2 | -3/+17 | |
| | | | | | llvm-svn: 88810 | |||||
| * | - Have TryStaticImplicitCast set the cast kind to NoOp when binding a ↵ | Sebastian Redl | 2009-11-14 | 6 | -60/+83 | |
| | | | | | | | | | | reference. CheckReferenceInit already inserts implicit casts to the necessary types. This fixes an assertion in CodeGen for some casts and brings a fix for PR5453 close, if I understand that bug correctly. - Also, perform calculated implicit cast sequences if they're determined to work. This finally diagnoses static_cast to ambiguous or implicit bases and fixes two long-standing fixmes in the test case. For the C-style cast, this requires propagating the access check suppression pretty deep into other functions. - Pass the expressions for TryStaticCast and TryStaticImplicitCast by reference. This should lead to a better AST being emitted for such casts, and also fixes a memory leak, because CheckReferenceInit and PerformImplicitConversion wrap the node passed to them. These wrappers were previously lost. llvm-svn: 88809 | |||||
| * | Canonicalize the type before trying to create a debug type. | Anders Carlsson | 2009-11-14 | 2 | -26/+31 | |
| | | | | | llvm-svn: 88808 | |||||
| * | Have CGDebugInfo::getOrCreateType cache the QualType instead of having every ↵ | Anders Carlsson | 2009-11-14 | 1 | -19/+4 | |
| | | | | | | | ConvertType overload do it. llvm-svn: 88807 | |||||
| * | Do not merge jump tables this early. Branch folding will do any necessary | Jim Grosbach | 2009-11-14 | 1 | -4/+0 | |
| | | | | | | | | merges, and until then, it's useful to keep the tables separate for ease of manipulation. llvm-svn: 88806 | |||||
| * | Cleanup flow, and only update the jump table we're analyzing when replacing ↵ | Jim Grosbach | 2009-11-14 | 1 | -9/+11 | |
| | | | | | | | a destination MBB. llvm-svn: 88805 | |||||
| * | Add function to replace a destination MBB in a single jump table | Jim Grosbach | 2009-11-14 | 2 | -8/+24 | |
| | | | | | llvm-svn: 88804 | |||||
| * | Remove dead variable found by clang++. | Benjamin Kramer | 2009-11-14 | 1 | -1/+0 | |
| | | | | | llvm-svn: 88803 | |||||
| * | Add XCore support for arbitrary-sized aggregate returns. | Richard Osborne | 2009-11-14 | 3 | -0/+60 | |
| | | | | | llvm-svn: 88802 | |||||
| * | Improve test to make sure -fixit is really working. | Daniel Dunbar | 2009-11-14 | 1 | -1/+9 | |
| | | | | | llvm-svn: 88801 | |||||
| * | Temporary disable the error - it seems to be too conservative. | Anton Korobeynikov | 2009-11-14 | 1 | -3/+4 | |
| | | | | | llvm-svn: 88800 | |||||
| * | Implement DISABLE_INLINE for MSVC. This required changing the position in all | Benjamin Kramer | 2009-11-14 | 4 | -10/+11 | |
| | | | | | | | forward declaration and patching tblgen to emit it right. Patch by Amine Khaldi! llvm-svn: 88798 | |||||

