[PATCH] D26231: [Sema] Allow static_cast(e) to check explicit conversions for non-reference-related types.

2016-11-02 Thread Eric Fiselier via cfe-commits
EricWF marked 2 inline comments as done. EricWF added inline comments. Comment at: lib/Sema/SemaCast.cpp:1148 + // FIXME C++1z doesn't allow this conversions for xvalues. if (!SrcExpr->isGLValue()) rsmith wrote: > Actually, it does, but it's covered by p4.

r285873 - [CodeGen] Use StringRef. NFC.

2016-11-02 Thread George Burgess IV via cfe-commits
Author: gbiv Date: Wed Nov 2 21:21:43 2016 New Revision: 285873 URL: http://llvm.org/viewvc/llvm-project?rev=285873&view=rev Log: [CodeGen] Use StringRef. NFC. Looks like CurFn's name outlives FunctionName, so we can just pass StringRefs around rather than going from a StringRef to a std::string

[PATCH] D26271: [PPC} add extract significand/ extract exponent/test data class for vector float and vector double -- clang portion

2016-11-02 Thread Sean Fertile via cfe-commits
sfertile created this revision. sfertile added reviewers: kbarton, nemanjai, amehsan, syzaara, jtony, lei. sfertile added subscribers: cfe-commits, echristo. sfertile set the repository for this revision to rL LLVM. Add support in altivec.h for the following functions, as well as matching builtin

r285879 - [Sema] Remove a dead assignment, NFC.

2016-11-02 Thread Vedant Kumar via cfe-commits
Author: vedantk Date: Thu Nov 3 01:35:16 2016 New Revision: 285879 URL: http://llvm.org/viewvc/llvm-project?rev=285879&view=rev Log: [Sema] Remove a dead assignment, NFC. The assignment to NextIsDereference is either followed by (1) another, unrelated assignment to NextIsDereference or by (2) an

[PATCH] D23765: Fix for clang PR 29087

2016-11-02 Thread Taewook Oh via cfe-commits
twoh updated this revision to Diff 76817. twoh added a comment. Addressing comments from @rsmith. Thanks! https://reviews.llvm.org/D23765 Files: lib/Sema/SemaExprCXX.cpp test/SemaCXX/cxx11-crashes.cpp Index: test/SemaCXX/cxx11-crashes.cpp ==

<    1   2