aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-05Start of a Sema implementation for #pragma weak. This isn't really theEli Friedman
right approach, but I'm still not sure what the best way to go about this is. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72912 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-05Fix a case when the TemplateArgs vector can be empty.Anders Carlsson
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72911 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-05Fix -Asserts build warnings.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72910 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-05Several improvements to template argument deduction:Douglas Gregor
- Once we have deduced template arguments for a class template partial specialization, we use exactly those template arguments for instantiating the definition of the class template partial specialization. - Added template argument deduction for non-type template parameters. - Added template argument deduction for dependently-sized array types. With these changes, we can now implement, e.g., the remove_reference type trait. Also, Daniel's Ackermann template metaprogram now compiles properly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72909 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-05Test for parsing #pragma weak.Eli Friedman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72908 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-05Add parser support for #pragma weak.Eli Friedman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72907 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04NoRedZone attribute test case.Devang Patel
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72905 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Set function attribute llvm::Attribute::NoRedZone appropriately.Devang Patel
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72902 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Fix up this compatibility hack to be more compatible with gcc.Eli Friedman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72901 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Move a couple Darwin-specific defines into getDarwinDefines.Eli Friedman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72900 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Use the correct indentation for DeclTemplate.cppAnders Carlsson
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72892 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Minor simplification.Eli Friedman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72887 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04PR4326: Handle constant evaluation for void* pointer subtraction Eli Friedman
correctly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72886 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Clean up builtin lists, add a few new builtins. (I re-sorted the Eli Friedman
string.h builtins to be in the same order as the list in the C99 standard.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72882 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Put "Language Extensions" and "C++ status" in the regular info section.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72879 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Mention unsupported GCC duplicate-definition-with-inline extension.Daniel Dunbar
Also, link users manual from the main web page. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72878 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04More refactoring/cleanup of objc ivars.Fariborz Jahanian
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72871 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Make ReplaceUsesOfNonProtoTypeWithRealFunction verify that a call is *to* theChris Lattner
function of interest, not an operand of it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72869 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04DefineBuiltinMacro is always passed two args, remove the defaulted thirdChris Lattner
one. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72868 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04forward -fno-color-diagnostics to clang-cc.Torok Edwin
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72856 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Add ANSI color support for clang.Torok Edwin
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72855 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Add DeclPrinter.cppAnders Carlsson
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72849 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Minor improvements to template parameter writing.Anders Carlsson
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72848 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Eliminate a warningDouglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72846 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Template argument deduction for incomplete and constant array types. Doug, ↵Anders Carlsson
please review. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72844 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Use PushConditionalTempDestruction/PopConditionalTempDestruction for the ↵Anders Carlsson
ternary operator. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72842 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Use conditional temp destruction for || and &&.Anders Carlsson
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72838 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Make PushCXXTemporary and PopCXXTemporary handle conditional temporaries.Anders Carlsson
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72837 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Add PushConditionalTempDestruction/PopConditionalTempDestruction.Anders Carlsson
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72835 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Make sure to call FullExpr before parsing anything else.Anders Carlsson
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72834 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Use the right indentation for CGCXXTemp.cppAnders Carlsson
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72832 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Make sure to push a cleanup block.Anders Carlsson
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72831 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Cleanup/Refactoring of ivar collection. No change in functionality.Fariborz Jahanian
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72827 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Template argument deduction for referencesDouglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72822 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04Update Xcode projectDouglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72820 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-04When performing template argument deduction, ensure that multipleDouglas Gregor
deductions of the same template parameter are equivalent. This allows us to implement the is_same type trait (!). Also, move template argument deduction into its own file and update a few build systems with this change (grrrr). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72819 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03PTH -> PCH in the user manualDouglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72815 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03Fix cmake builds.Mike Stump
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72814 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03HTML tweak to get the PCH internals documentation to display correctlyDouglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72813 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03Finished the PCH design and implementation documentationDouglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72812 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03Document the integration points for precompiled headersDouglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72809 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03PR4316: Fix IRGen for cast-to-union extension.Eli Friedman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72803 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03Add more retain-checker tests for GC mode when using NSMakeCollectable.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72799 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03More temporary work.Anders Carlsson
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72796 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03PR4308: Fix support for -m32/-m64 on Linux.Eli Friedman
I'll look into cleaning this up a bit as a followup. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72794 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03Store more information about live temporaries. No functionality change for now.Anders Carlsson
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72793 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03Move code generation of C++ temporaries into a new file.Anders Carlsson
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72792 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03Add a table of contents to the PCH design documentDouglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72791 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03Document the PCH representation of statements and expressionsDouglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72790 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03(llvm up) Switch to using StandardPasses.hDaniel Dunbar
- One functionality change, the LoopIndexSplit pass is now reenabled (it was disabled in r60089 but we forgot to reenable it). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72787 91177308-0d34-0410-b5e6-96231b3b80d8