Displaying 3 results from an estimated 3 matches for "__has_cpp_attribute".
2018 Nov 01
2
RFC Enable -Wimplicit-fallthrough for clang as well as GCC
Great! Thanks everyone for the input, I'm going to start splitting up the
patch. I'll send out the non-mechanical parts separately.
On Wed, Oct 31, 2018 at 10:03 PM Chris Lattner <sabre at nondot.org> wrote:
> On Oct 31, 2018, at 2:24 PM, Reid Kleckner <rnk at google.com> wrote:
>
> Alex Kornienko proposed enabling this warning back in 2012 here:
>
2014 Nov 17
2
[LLVMdev] LLVM Weekly - #46, Nov 17th 2014
...c was added to make it easier to write tests for
ARM ConstantIslands. [r221903](http://reviews.llvm.org/rL221903).
## Clang commits
* The constant trickle of OpenMP patches continues. Codegen for threadprivate
variables has been added. [r221663](http://reviews.llvm.org/rL221663).
* Support for `__has_cpp_attribute` is now present.
[r221991](http://reviews.llvm.org/rL221991).
## Other project commits
* Breakpoint stop/resume has been implemented on Windows for LLDB.
[r221642](http://reviews.llvm.org/rL221642).
* The [libcxx status page](http://libcxx.llvm.org/cxx1z_status.html) has been
updated with the c...
2017 Mar 01
3
Excessive use of LLVM_FALLTHROUGH?
I came across a weird-looking use of LLVM_FALLTHROUGH which I think is
completely spurious, but I figured I should check with the group mind
before ripping it out. Basically, if you have multiple cases with no
code in between, you do *not* need LLVM_FALLTHROUGH, right?
switch (Foo) {
case Bar1:
LLVM_FALLTHROUGH; // not needed
case Bar2:
some code;
return;
case Bar3: