- Apr 22, 2013
-
-
David Blaikie authored
This reverts commit 179839 now that the corresponding LLVM patch has been fixed. llvm-svn: 179997
-
David Blaikie authored
Making the test introduced in r179962 resilient to being run on darwin10 hosts. llvm-svn: 179992
-
- Apr 21, 2013
-
-
Dmitri Gribenko authored
Patch by Loïc Jaquemet. llvm-svn: 179984
-
Simon Atanasyan authored
Mips backend. llvm-svn: 179981
-
Simon Atanasyan authored
of system include directories with extern "C" semantics. llvm-svn: 179979
-
Richard Smith authored
C++1y, so stop adding the 'const' there. Provide a compatibility warning for code relying on this in C++11, with a fix-it hint. Update our lazily-written tests to add the const, except for those ones which were testing our implementation of this rule. llvm-svn: 179969
-
Richard Smith authored
Still to do here: - we have a collection of syntactic accepts-invalids to diagnose - support non-PODs in VLAs, including dynamic initialization / destruction - runtime checks (and throw std::bad_array_length) for bad bound - support VLA capture by reference in lambdas - properly support VLAs in range-based for (don't recompute bound) llvm-svn: 179962
-
Richard Smith authored
llvm-svn: 179959
-
Richard Smith authored
Add a CXXDefaultInitExpr, analogous to CXXDefaultArgExpr, and use it both in CXXCtorInitializers and in InitListExprs to represent a default initializer. There's an additional complication here: because the default initializer can refer to the initialized object via its 'this' pointer, we need to make sure that 'this' points to the right thing within the evaluation. llvm-svn: 179958
-
- Apr 20, 2013
-
-
Richard Smith authored
llvm-svn: 179953
-
Richard Smith authored
llvm-svn: 179951
-
Richard Smith authored
llvm-svn: 179950
-
Richard Smith authored
llvm-svn: 179949
-
Richard Smith authored
llvm-svn: 179947
-
Richard Smith authored
Clarifying memory allocation: approved for C++14. Move from N/A to no, since we currently relax 'operator new' calls which didn't come from new-expressions. llvm-svn: 179946
-
Richard Smith authored
llvm-svn: 179945
-
Richard Smith authored
llvm-svn: 179944
-
Richard Smith authored
llvm-svn: 179943
-
Richard Smith authored
llvm-svn: 179942
-
Richard Smith authored
Implement core issue 1608: class members can be found via operator lookup in a trailing return type in that class's body. llvm-svn: 179941
-
Simon Atanasyan authored
Sourcery CodeBench and modern FSF Mips toolchains require a bit more complicated algorithm to calculate headers, libraries and sysroot paths than implemented by Clang driver now. The main problem is that all these paths depend on a set of command line arguments additionally to a target triple value. For example, let $TC is a toolchain installation directory. If we compile big-endian 32-bit mips code, crtbegin.o is in the $TC/lib/gcc/mips-linux-gnu/4.7.2 folder and the toolchain's linker requires --sysroot=$TC/mips-linux-gnu/libc argument. If we compile little-endian 32-bit soft-float mips code, crtbegin.o is in the $TC/lib/gcc/mips-linux-gnu/4.7.2/soft-float/el folder and the toolchain's linker requires --sysroot=$TC/mips-linux-gnu/libc/soft-float/el argument. 1. Calculate MultiarchSuffix using all necessary command line options and use this MultiarchSuffix to detect crtbegin.o location in the GCCInstallationDetector::ScanLibDirForGCCTriple() routine. 2. If a user does not provide --sysroot argument to the driver explicitly, calculate new sysroot value based on command line options. Then use this calculated sysroot path: a. To populate a file search paths list in the Linux::Linux() constructor. b. To find Mips toolchain specific include headers directories in the Linux::AddClangSystemIncludeArgs() routine. c. To provide -–sysroot argument for a linker. Note: - The FSF's tree slightly differs (folder names) and is not supported yet. - New addExternCSystemIncludeIfExits() routine is a temporary solution. I plan to move path existence check to the addExternCSystemInclude() routine by a separate commit. The patch reviewed by Rafael Espindola. http://llvm-reviews.chandlerc.com/D644 llvm-svn: 179934
-
Anna Zaks authored
Introduce a new helper function, which computes the first symbolic region in the base region chain. The corresponding symbol has been used for assuming that a pointer is null. Now, it will also be used for checking if it is null. This ensures that we are tracking a null pointer correctly in the BugReporter. llvm-svn: 179916
-
Anna Zaks authored
llvm-svn: 179915
-
Anna Zaks authored
llvm-svn: 179914
-
Argyrios Kyrtzidis authored
rdar://13647445 llvm-svn: 179907
-
Jordan Rose authored
- memory.MismatchedDelete, memory.MultipleDelete, and memory.DeallocateNonPtr are complete (unix.MismatchedDeallocator and cplusplus.NewDelete) - Per discussion on the mailing list, different.UnaryPlusWithUnsigned has dubious value; remove it. - Add potential checker ctordtor.PlacementSelfCopy per an internal bug report. - core.AttributeNonNull is now core.NonNullParamChecker, though no one should be depending on this name anyway. llvm-svn: 179900
-
- Apr 19, 2013
-
-
Adrian Prantl authored
llvm-svn: 179898
-
Adrian Prantl authored
llvm-svn: 179897
-
Adrian Prantl authored
llvm-svn: 179896
-
Richard Smith authored
C++1y binary literals. llvm-svn: 179883
-
Chad Rosier authored
not the asm parser. As such, begin moving the parsing logic in that direction. This patch is just a temporary hack until the real frontend parser can be hooked up. Part of rdar://13663589 llvm-svn: 179882
-
Adrian Prantl authored
instead of only C++11-scoped-with-class-tag enums. rdar://problem/13463793 llvm-svn: 179879
-
Adrian Prantl authored
llvm-svn: 179878
-
Richard Smith authored
llvm-svn: 179864
-
Andy Gibbs authored
llvm-svn: 179862
-
Richard Smith authored
llvm-svn: 179861
-
Reid Kleckner authored
Microsoft's Source Annotation Language (SAL) defines a bunch of keywords for annotating the inputs and outputs of functions. Empty definitions for the keywords are provided by <stdlib.h> -> <crtdefs.h> -> <sal.h>. This makes it basically impossible to include MSVC's stdlib.h and Clang's *mmintrin.h headers at the same time if they have variables named __in. As a workaround, I've renamed those variables. This fixes the Modules/compiler_builtins.m test which was XFAILed, presumably due to this conflict. llvm-svn: 179860
-
Richard Smith authored
Implement CodeGen for C++11 thread_local, following the Itanium ABI specification as discussed on cxx-abi-dev. llvm-svn: 179858
-
Anton Yartsev authored
llvm-svn: 179846
-
Eric Christopher authored
This reverts commit r179837 as it seems to be causing test failures. llvm-svn: 179839
-