- Jun 03, 2011
-
-
Francois Pichet authored
My testing shows that function stat has no problem with trailing separators. (tested on Windows and Darwin). This fixes a bug on Windows: clang c:\test.cpp Here the call stat("c:") is not recognized as a directory (must be "c:\"). llvm-svn: 132539
-
Francois Pichet authored
I'll try to implement this functionality again soon. llvm-svn: 132536
-
Chandler Carruth authored
diagnostic group to cover the cases where we have definitively bad behavior: dynamic classes. It also rips out the existing support for POD-based checking. This didn't work well, and triggered too many false positives. I'm looking into a possibly more principled way to warn on the fundamental buggy construct here. POD-ness isn't the critical aspect anyways, so a clean slate is better. This also removes some silliness from the code until the new checks arrive. llvm-svn: 132534
-
NAKAMURA Takumi authored
llvm-svn: 132531
-
Douglas Gregor authored
of incomplete array type, attempt to complete the array type. This was made much easier by Chandler's addition of RequireCompleteExprType(), which I've tweaked (slightly) to improve the consistency of the DeclRefExpr. Fixes PR7985. llvm-svn: 132530
-
Douglas Gregor authored
the template parameter, perform the checking as a "specified" template argument rather than a "deduced" template argument; the latter implies stricter type checking that is not permitted for default template arguments. Also, cleanup our handling of substitution of explicit template arguments for a function template. We were actually performing some substitution of default arguments at this point! Fixes PR10069. llvm-svn: 132529
-
Douglas Gregor authored
DeclRefExprs, IntegerLiterals, and others, reducing Cocoa PCH size by ~1% and C++ header size by ~2.5%. From Jonathan Turner! llvm-svn: 132528
-
Eli Friedman authored
llvm-svn: 132521
-
John McCall authored
llvm-svn: 132518
-
Rafael Espindola authored
Before this patch we would still link with the system libstdc++. It worked fine most of the time, but would break if the used headers were a lot newer than the system libraries. This patch changes the driver to use the libraries corresponding to the headers the user selected. This fixes, for example, using 4.5 headers in a system with gcc 4.1. llvm-svn: 132497
-
Eli Friedman authored
llvm-svn: 132496
-
- Jun 02, 2011
-
-
Galina Kistanova authored
Reverted r132330, r132321, r132320, r132319 as per discussion. Will try in-test requirement declarations instead. llvm-svn: 132491
-
Eli Friedman authored
llvm-svn: 132489
-
Argyrios Kyrtzidis authored
in ASTReader::validateFileEntries(). This avoids going through all source location entries and fixes the performance regression. Many thanks to Doug for the hint! (rdar://9530587) llvm-svn: 132481
-
Rafael Espindola authored
llvm-svn: 132474
-
Rafael Espindola authored
llvm-svn: 132468
-
Manuel Klimek authored
llvm-svn: 132462
-
Rafael Espindola authored
llvm-svn: 132460
-
Douglas Gregor authored
+keyPathsForValuesAffecting<Key> completion was mislabeled as an instance method, and +automaticallyNotifiesObserversOf<Key> was missing entirely. Fixes <rdar://problem/9516762>. llvm-svn: 132452
-
Francois Pichet authored
llvm-svn: 132447
-
Eli Friedman authored
Revert r132426; this test passes more often than not, and we don't have a way to mark tests as intermittently failing at the moment. llvm-svn: 132446
-
Akira Hatanaka authored
llvm-svn: 132443
-
Douglas Gregor authored
llvm-svn: 132432
-
Douglas Gregor authored
nested types, from Michael Han! llvm-svn: 132431
-
- Jun 01, 2011
-
-
Argyrios Kyrtzidis authored
llvm-svn: 132426
-
Rafael Espindola authored
idea at some point to split out the directories where we install our runtime libraries. llvm-svn: 132425
-
Ted Kremenek authored
llvm-svn: 132422
-
Ted Kremenek authored
llvm-svn: 132407
-
Eli Friedman authored
Don't use stdint.h; including it directly is not allowed from LLVM code because it doesn't exist on MSVC. llvm-svn: 132403
-
Douglas Gregor authored
constant-expression, and, therefore, an unevaluated operand. Make it so. llvm-svn: 132400
-
Douglas Gregor authored
pointers. Fixes PR10052. llvm-svn: 132397
-
Benjamin Kramer authored
llvm-svn: 132392
-
Benjamin Kramer authored
llvm-svn: 132391
-
Nick Lewycky authored
function might need to clean up its temporaries. Fixes PR10057. llvm-svn: 132390
-
Argyrios Kyrtzidis authored
a file was modified since the time the PCH was created. The parser is not fit to deal with stale PCHs, too many invariants do not hold up. rdar://9530587. llvm-svn: 132389
-
Francois Pichet authored
llvm-svn: 132387
-
Manuel Klimek authored
Fix broken test on windows. To get operator new working, we need size_t, for which we need to figure out a way to resolve standard include paths in the test. llvm-svn: 132386
-
Manuel Klimek authored
llvm-svn: 132380
-
Nick Lewycky authored
Also reflow these lines to fit in 80-col. llvm-svn: 132379
-
Manuel Klimek authored
llvm-svn: 132376
-