- Jun 03, 2011
-
-
Bill Wendling authored
llvm-svn: 132575
-
Howard Hinnant authored
llvm-svn: 132573
-
Alexis Hunt authored
destructors are implemented but other special members are on the way, which is where the real benefits of this will be visible. llvm-svn: 132572
-
Galina Kistanova authored
llvm-svn: 132571
-
Matt Beaumont-Gay authored
passing -Wunknown-warning-option will re-enable warnings about -Wno-foo. llvm-svn: 132570
-
Alexis Hunt authored
llvm-svn: 132566
-
Hans Wennborg authored
Warn in cases such as "x + someCondition ? 42 : 0;", where the condition expression looks arithmetic, and has a right-hand side that looks boolean. This (partly) addresses http://llvm.org/bugs/show_bug.cgi?id=9969 llvm-svn: 132565
-
Alexis Hunt authored
special member functions. llvm-svn: 132564
-
Hans Wennborg authored
In code such as "char* volatile const j()", Clang warns that "volatile const" will be ignored. Make it point to the first ignored qualifier, and simplify the code a bit. llvm-svn: 132563
-
Howard Hinnant authored
llvm-svn: 132562
-
Eric Christopher authored
addressing mode problem mentioned in r132559. Backend part of rdar://9037836 and part of rdar://9119939 llvm-svn: 132561
-
Devang Patel authored
llvm-svn: 132560
-
Eric Christopher authored
llvm-svn: 132559
-
Hans Wennborg authored
llvm-svn: 132558
-
Devang Patel authored
llvm-svn: 132557
-
Devang Patel authored
A typedef's context is not the same as type's context. It is the context of typedef decl itself. Use extra parameter to communicate this to DIBuilder. llvm-svn: 132556
-
Chad Rosier authored
llvm-svn: 132555
-
Caroline Tice authored
Make a few minor changes/corrections to scripting example on the web. llvm-svn: 132554
-
Howard Hinnant authored
llvm-svn: 132553
-
Roman Divacky authored
- Check for MTCTR8 in addition to MTCTR when looking up a hazard. - When lowering an indirect call use CTR8 when targeting 64bit. - Introduce BCTR8 that uses CTR8 and use it on 64bit when expanding ISD::BRIND. The last change fixes PR8487. With those changes, we are able to compile a running "ls" and "sh" on FreeBSD/PowerPC64. llvm-svn: 132552
-
Rafael Espindola authored
we look in /usr/lib to find crt1.o, and that depends only on where libc is installed. This fixes the case of using a different gcc installation in a distro without multilib. llvm-svn: 132551
-
Rafael Espindola authored
llvm-svn: 132550
-
Howard Hinnant authored
After sleeping on it I've decided that all special members that can be noexcept, should be declared so. The client has the traits to detect and branch on this information, and it is often an important optimization. Give deque() a noexcept. Add test for deque default constructor and deque destructor. llvm-svn: 132549
-
Eric Christopher authored
llvm-svn: 132548
-
Douglas Gregor authored
Sema::RequireCompleteExprType() a bit more, setting the point of instantiation if needed, and skipping explicit specializations entirely. llvm-svn: 132547
-
Francois Pichet authored
llvm-svn: 132546
-
Marshall Clow authored
llvm-svn: 132545
-
Francois Pichet authored
llvm-svn: 132544
-
Eric Christopher authored
llvm-svn: 132543
-
Eric Christopher authored
places this is a problem. llvm-svn: 132542
-
Eric Christopher authored
Patch by Tobias Hunger! Fixes PR10008 llvm-svn: 132541
-
Benjamin Kramer authored
Found by valgrind. llvm-svn: 132540
-
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
-
Zhongxing Xu authored
integers with high 32 bits being zero. llvm-svn: 132538
-
Nick Lewycky authored
llvm-svn: 132537
-
Francois Pichet authored
I'll try to implement this functionality again soon. llvm-svn: 132536
-
Nick Lewycky authored
which edge to split by pred/succ pair, which means that we can end up splitting the wrong edge (by case value) in the switch statement entirely. Fixes PR10031! llvm-svn: 132535
-
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
-
Chad Rosier authored
llvm-svn: 132533
-
Charles Davis authored
the handler's data area is similar to a DWARF-format LSDA. (It is, in fact, a 32-bit pointer to the personality routine followed by the DWARF LSDA.) llvm-svn: 132532
-