- Jul 01, 2013
-
-
Rui Ueyama authored
llvm-svn: 185310
-
Rui Ueyama authored
llvm-svn: 185309
-
Rui Ueyama authored
llvm-svn: 185308
-
Rui Ueyama authored
llvm-svn: 185307
-
Craig Topper authored
llvm-svn: 185306
-
Craig Topper authored
llvm-svn: 185305
-
Richard Smith authored
InitListExpr. llvm-svn: 185304
-
Craig Topper authored
llvm-svn: 185303
-
Craig Topper authored
llvm-svn: 185302
-
Craig Topper authored
llvm-svn: 185301
-
Craig Topper authored
llvm-svn: 185300
-
Arnold Schwaighofer authored
Math functions are mark as readonly because they read the floating point rounding mode. Because we don't vectorize loops that would contain function calls that set the rounding mode it is safe to ignore this memory read. llvm-svn: 185299
-
Howard Hinnant authored
In istream::ignore, check the delimeter as an int_type, not as a char_type, so as to correctly handle EOF. This fixes http://llvm.org/bugs/show_bug.cgi?id=16427 llvm-svn: 185298
-
Howard Hinnant authored
The bind and function functor constructors and assignment operators were overly general and getting confused with the copy constructor and copy assignment operators. Constrained them. This fixes http://llvm.org/bugs/show_bug.cgi?id=16385 llvm-svn: 185297
-
Craig Topper authored
llvm-svn: 185296
-
Craig Topper authored
llvm-svn: 185295
-
- Jun 30, 2013
-
-
Vincent Lejeune authored
llvm-svn: 185294
-
James Dennett authored
llvm-svn: 185293
-
Ahmed Bougacha authored
llvm-svn: 185292
-
Stephen Lin authored
This allows clang to use the backend parameter attribute 'returned' when generating 'this'-returning constructors and destructors in ARM and MSVC C++ ABIs. llvm-svn: 185291
-
Stephen Lin authored
DeadArgumentElimination: keep return value on functions that have a live argument with the 'returned' attribute (rather than generate invalid IR); however, if both can be eliminated, both will be llvm-svn: 185290
-
Howard Hinnant authored
Fix bind by making _is_valid_bind_return more robust. It should return false instead of give a compile time error, always. The problem was down in ____mu_return, the version that handles nested bind objects. This fixes http://llvm.org/bugs/show_bug.cgi?id=16343 llvm-svn: 185289
-
James Dennett authored
typo or two. llvm-svn: 185288
-
Alexey Samsonov authored
Always set -m32/-m64 flags for targeting i386/x86_64 respectively. Apparently, there are platforms where the clang defaults are different from gcc llvm-svn: 185287
-
Alexey Samsonov authored
llvm-svn: 185286
-
Rui Ueyama authored
llvm-svn: 185285
-
Benjamin Kramer authored
ConstantFold: Check that truncating the other side is safe under a sext when trying to remove a sext from a compare. Fixes PR16462. llvm-svn: 185284
-
Rui Ueyama authored
llvm-svn: 185283
-
Richard Smith authored
before the value computation of the result. In C, this is implied by there being a sequence point after their evaluation, and in C++, it's implied by the side-effects being sequenced before the expressions and statements in the function body. llvm-svn: 185282
-
Richard Smith authored
standard's rule that an extern "C" declaration conflicts with any entity in the global scope with the same name. Now we only care if the global scope entity is a variable declaration (and so might have the same mangled name as the extern "C" declaration). This has been reported as a standard defect. Original commit message: PR7927, PR16247: Reimplement handling of matching extern "C" declarations across scopes. When we declare an extern "C" name that is not a redeclaration of an entity in the same scope, check whether it redeclares some extern "C" entity from another scope, and if not, check whether it conflicts with a (non-extern-"C") entity in the translation unit. When we declare a name in the translation unit that is not a redeclaration, check whether it conflicts with any extern "C" entities (possibly from other scopes). llvm-svn: 185281
-
David Majnemer authored
llvm-svn: 185280
-
James Dennett authored
WalkUpFromLambdaExpr, so that the Visit* functions are called on that AST node. llvm-svn: 185277
-
James Dennett authored
explicitly specify use of C++98 or C++11. Lang_CXX is preserved as an alias for Lang_CXX98. This does not add Lang_CXX1Y or Lang_C11, on the assumption that it's better to add them if/when they are needed. (This is a prerequisite for a test in a later patch for RecursiveASTVisitor.) Reviewed by Richard Smith. llvm-svn: 185276
-
Howard Hinnant authored
code to specify what version of POSIX the system should provide. If you want to check what version of POSIX is actually available, you're supposed to test _POSIX_VERSION. However, since sysconf() has been in POSIX since 1995, it's probably safe to assume it's available on any system with a C++11 compiler, especially if _SC_NPROCESSORS_ONLN is defined too. So no point in a complicated preprocessor rule if just we unconditionally include <unistd.h> (on non-Windows systems). Also, I've added a #warning for to help porters detect when a suitable implementation isn't detected at compile-time. Howard: Matthew, can you patch CREDITS.TXT? Thanks. llvm-svn: 185275
-
Howard Hinnant authored
Matthew Dempsky: Same as stdexcept.cpp in libc++abi: we've already computed 'len strlen(msg)', so we can use memcpy() instead of strcpy(). llvm-svn: 185274
-
Howard Hinnant authored
Prevent '\b' from backing up into invalid memory. Fixes http://llvm.org/bugs/show_bug.cgi?id=16240. Sorry, I can not think of a good test case for this one, except by running valgrind as reported in the bug. llvm-svn: 185273
-
David Majnemer authored
This allows us to simplify urem instructions involving the add+xor to turn into simpler math. llvm-svn: 185272
-
Benjamin Kramer authored
Avoids unused variable warnings in release builds. llvm-svn: 185271
-
- Jun 29, 2013
-
-
Benjamin Kramer authored
Inserting a zext or trunc is sufficient. This pattern is somewhat common in LLVM's pointer mangling code. llvm-svn: 185270
-
Benjamin Kramer authored
operator++ on an enum is not legal. clang happens to accept it anyways, I think that's a known bug. llvm-svn: 185269
-